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
Hi there,
I have a finance data and want to show last 5 complate quarters months in Matrix Column when i select any Quarter-Year from slicers.
For example, I have two year data from Jan-2020 till Dec-2021. Now i have Quarter year slicer and when i select Q4-2021 my Matrix should show all previous 15 months-Year (From Sep-2021 till Jul-2020) for last 5 complete quarters i.e Q3-2021, Q2-2021,Q1-2021,Q4-2020,Q3-2020.
Slicer | |||||||||||||||
Q4-2021 | |||||||||||||||
Cureency | Sep-21 | Aug-21 | Jul-21 | Jun-21 | May-21 | Apr-21 | Mar-21 | Feb-21 | Jan-21 | Dec-20 | Nov-20 | Oct-20 | Sep-20 | Aug-20 | Jul-20 |
USD | 1556 | 1564 | 456 | 4654 | 522 | 55 | 48 | 466 | 656 | 689 | 879 | 822 | 4669 | 456 | 4636 |
Solved! Go to Solution.
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! |
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! |
Thanks a lot for your help. Really appreciate it.
I need another favour related to this. Now i want to create two measures one for last 4 quarter and another for prior running 4 quarters.
I have craeted last 4 Qtr by using above logic and it worked but for prior runing it's not working
For Last 4Qtr e.g if we see above example and select Q4-2021 in our slicer then Last 4Qtr should show Q3-2021, Q2-2021, Q1-2021 and Q4-2020
I used below measure and it worked
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! |
Thanks for sharing this. Apologies i think i wasn't clear in my previous post. We don't need running qtr But the requirement is we want to skip 2 qtr as in the above example 20221 is selected in slicer and table is showing 2021-Q4, 2021-Q3, 2021-Q2 and 2021-Q1 . However, we want to show 2021-Q3, 2021-Q2, 2021-Q1 and 2020-Q4.
Thanks
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.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
112 | |
79 | |
77 | |
47 | |
38 |
User | Count |
---|---|
148 | |
116 | |
65 | |
64 | |
54 |