Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and a 50 percent discount on exams.
Get startedEarn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hi Team,
I have been trying to calculate the Count of IDs for the QTD based on the Fiscal Calendar. Below is how my Fiscal Calendar is and it always starts from Saturday of the week where 1st feb falls.
I need to calculate the count of orders for the current Fiscal QTD.
Solved! Go to Solution.
@Anonymous , Create a Rank column
Qtr Rank = RANKX(all('Date'),'Date'[FYFQ],,ASC,Dense)
Then try measures like these examples
This Qtr = CALCULATE(sum('order'[Qty]), FILTER(ALL('Date'),'Date'[Qtr Rank]=max('Date'[Qtr Rank])))
Last Qtr = CALCULATE(sum('order'[Qty]), FILTER(ALL('Date'),'Date'[Qtr Rank]=max('Date'[Qtr Rank])-1))
Power BI — Qtr on Qtr with or Without Time Intelligence
https://medium.com/@amitchandak.1978/power-bi-qtd-questions-time-intelligence-2-5-d842063da839
https://www.youtube.com/watch?v=8-TlVx7P0A0
Hi @Anonymous ,
Does your problem have been solved? If it is solved, please mark a reply which is helpful to you.
If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
Winniz
@Anonymous , Create a Rank column
Qtr Rank = RANKX(all('Date'),'Date'[FYFQ],,ASC,Dense)
Then try measures like these examples
This Qtr = CALCULATE(sum('order'[Qty]), FILTER(ALL('Date'),'Date'[Qtr Rank]=max('Date'[Qtr Rank])))
Last Qtr = CALCULATE(sum('order'[Qty]), FILTER(ALL('Date'),'Date'[Qtr Rank]=max('Date'[Qtr Rank])-1))
Power BI — Qtr on Qtr with or Without Time Intelligence
https://medium.com/@amitchandak.1978/power-bi-qtd-questions-time-intelligence-2-5-d842063da839
https://www.youtube.com/watch?v=8-TlVx7P0A0
Thanks Amit. This helped.
I have another question, when i use This Qtr in the visual, I see QTD values for all qtrs. How do i restrict it to show values only for the current quarter.
Hi @Anonymous ,
If you want to show values only for the current quarter, try the following formula:
Measure =
IF(
MAX('Table'[FYFQ]) = CALCULATE( MAX('Table'[FYFQ]), 'Table'[Date] = TODAY() ),
[This Qtr]
)
If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
Winniz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
User | Count |
---|---|
92 | |
77 | |
71 | |
64 | |
58 |
User | Count |
---|---|
106 | |
97 | |
76 | |
63 | |
61 |