Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
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
User | Count |
---|---|
117 | |
73 | |
58 | |
49 | |
48 |
User | Count |
---|---|
171 | |
122 | |
60 | |
59 | |
56 |