Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Dear all
Need help in calculating quarter over quarter
i used this calculation
Previous quarter= CALCULATE(SUM('Table'[value]), FILTER(ALL('calendar'),'calendar'[rank]=MAX('calendar'[rank])-1))
Latest quarter = CALCULATE(SUM('Table'[value]), FILTER(ALL('calendar'),'calendar'[rank]=MAX('calendar'[rank])))
qoq%=((Latest quarter-Previous quarter)/Previous quarter)
problem arises when there is shift from 2018 to 2019
previous quarter doesnt fetch data require q42019 when i select q12019
Solved! Go to Solution.
Hi @qwaiti27231 ,
Not sure how you created [rank] in your calendar table. Please try below calculated columns. Then, still use above measures to calculate QoQ.
Year-quarter = YEAR([Date])*10+[Date].[QuarterNo] rank = RANKX('calendar',[Year-quarter],,ASC,Dense)
Best regards,
Yuliana Gu
Hi @qwaiti27231 ,
Not sure how you created [rank] in your calendar table. Please try below calculated columns. Then, still use above measures to calculate QoQ.
Year-quarter = YEAR([Date])*10+[Date].[QuarterNo] rank = RANKX('calendar',[Year-quarter],,ASC,Dense)
Best regards,
Yuliana Gu
*previous quarter doesnt fetch data require q42018 when i select q12019
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
112 | |
97 | |
82 | |
67 | |
61 |
User | Count |
---|---|
150 | |
120 | |
99 | |
87 | |
68 |