Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 39 | |
| 37 | |
| 33 | |
| 32 | |
| 29 |
| User | Count |
|---|---|
| 133 | |
| 88 | |
| 85 | |
| 68 | |
| 64 |