Quantcast
Channel: Desktop topics
Viewing all articles
Browse latest Browse all 216047

DAX Inmonth result brings back last month instead of current month

$
0
0

I have this calculation that by a filter of Product, if there is no product for the current month it brings back the previous month, i dont quite understand how its doing it but if there i no result i just want it to bring back 0 rather than using the last months figure

 

In Month Revenue = CALCULATE(
SUM('Registrations'[MRR]),
FILTER(
'Fiscal Date',
FORMAT(MONTH(NOW()),"MMM") = 'Fiscal Date'[Month]
&& YEAR(Now()) = 'Fiscal Date'[Fiscal Year] )
)


Viewing all articles
Browse latest Browse all 216047

Trending Articles