The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hey All!
A bit of a weird problem
In a lot of projects I did a month less last month
The formula works great
Just here it does not work for me.
I have a FACT table and a DIM DATE table
that's it
And the Measure are:
Solved! Go to Solution.
Sounds like only a rookie's mistake. Even if your measure uses previous month as date filter, any other existing date filters in the viz/matrix need to be taken into consideration.
Thanks to the great efforts by MS engineers to simplify syntax of DAX! Most beginners are SUCCESSFULLY MISLED to think that they could easily master DAX; but it turns out that the intricacy of the most frequently used RANKX() is still way beyond their comprehension! |
DAX is simple, but NOT EASY! |
Sounds like only a rookie's mistake. Even if your measure uses previous month as date filter, any other existing date filters in the viz/matrix need to be taken into consideration.
Thanks to the great efforts by MS engineers to simplify syntax of DAX! Most beginners are SUCCESSFULLY MISLED to think that they could easily master DAX; but it turns out that the intricacy of the most frequently used RANKX() is still way beyond their comprehension! |
DAX is simple, but NOT EASY! |
shame on me
I played so much with the data
That I did not look at this little thing
Thanks!
try this instead of dateadd:
PREVIOUSMONTH(<dates>)
Did I answer your question? If so, please mark my post as a solution!
Proud to be a Super User!
its bring me blank
But I really want to know why it's not going my way
I'm sure I'll find something
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
User | Count |
---|---|
121 | |
85 | |
77 | |
55 | |
48 |
User | Count |
---|---|
136 | |
128 | |
78 | |
64 | |
63 |