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,
I have 2 columns one of them q1 and the other q2 (duplicated columns). Have lots of graphs on this page. q1 and q2 slicers are (quarters like 3-22, 6-22, 9-22 etc) effecting graphs (using edit interactions). however, I want to add a matrix to compare the figures based on selected values q1 and q2.
my row data is as below.
ID | Sales | Q1 | Q2 |
aaaa | 10K | 03-2022 | 03-2022 |
aaaa | 20K | 06-2022 | 06-2022 |
aaaa | 5K | 09-2022 | 09-2022 |
bbbb | 20K | 03-2022 | 03-2022 |
bbbb | 10K | 06-2022 | 06-2022 |
bbbb | 10K | 09-2022 | 09-2022 |
cccc | 5K | 03-2022 | 03-2022 |
cccc | 15K | 06-2022 | 06-2022 |
cccc | 25K | 09-2022 | 09-2022 |
so wanna see a table as below
(selected quarter on q1 slicer) ie 09-2022 | (selected quarter on q2slicer) ie 03-2022 | |
ID | sales | sales |
aaa | 5K | 10K |
bbb | 10K | 20K |
cccc | 25K | 5K |
so I have already duplicated tables and try to get numbers from 2 tables and created connections etc. but not succeeded.
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! |
Simple enough, based on the previous solution, a third measure
Diff = [Sales Q1] - [Sales Q2]
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! |
@CNENFRNL Thanks for the solution. is there any chance to add a progressing measure to see the difference between 2 selected seasons like aaaaa = -5 bbbbb=-10 ccccc=20
Simple enough, based on the previous solution, a third measure
Diff = [Sales Q1] - [Sales Q2]
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! |
@CNENFRNL thanks for it, working really too much on a thing sometimes makes me blind to any other things. thanks again for your helps
User | Count |
---|---|
117 | |
73 | |
58 | |
49 | |
48 |
User | Count |
---|---|
171 | |
122 | |
60 | |
59 | |
56 |