Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
Hello,
I need some help with some dax. I need to find the first of the TOTALMTD() however it needs to be based on the previous day.
Examples:
This is what I have so far:
I can't seem to get the filters to work correctly. Any help is appreciated.
Solved! Go to Solution.
Hi @BlueTeam1
VAR end_ = 'Calendar'[Date]-1
VAR start_ = DATE(YEAR(end_), MONTH(end_), 1)
and then you can use those vars in the filter operation You do not specify if this is to be used in a measure or a calc column. If the former, you´ll need a SELECTEDVALUE( ) in end_
Please mark the question solved when done and consider giving a thumbs up if posts are helpful.
Contact me privately for support with any larger-scale BI needs, tutoring, etc.
Cheers
Hi @BlueTeam1
VAR end_ = 'Calendar'[Date]-1
VAR start_ = DATE(YEAR(end_), MONTH(end_), 1)
and then you can use those vars in the filter operation You do not specify if this is to be used in a measure or a calc column. If the former, you´ll need a SELECTEDVALUE( ) in end_
Please mark the question solved when done and consider giving a thumbs up if posts are helpful.
Contact me privately for support with any larger-scale BI needs, tutoring, etc.
Cheers
User | Count |
---|---|
14 | |
9 | |
8 | |
7 | |
5 |
User | Count |
---|---|
24 | |
16 | |
15 | |
10 | |
7 |