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 all,
i had the current quarter column but need help on dax for the fiscal quarter over previous year fiscal quarter?
my fiscal year start april. can anyone advice?
Solved! Go to Solution.
Hi mellyVK,
When you use first one in table, it won't calculate grand total automatically, so you could use second measure in table which will show grand total in table.
Best Regards,
Zoe Zhi
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi mellyVK,
You could try below measure
Last year same Qtr Sales = CALCULATE ( SUM ( DATA1[Value] ), FILTER ( ALL ( DATA1 ), DATA1[Product] = MIN ( DATA1[Product] ) && DATA1[fiscalyearquarterno] = MIN ( DATA1[fiscalyearquarterno] ) && DATA1[FinancialYearNo] = MIN ( DATA1[FinancialYearNo] ) - 1 ) )
Measure = IF ( HASONEVALUE ( DATA1[fiscalquarter] ), [Last year same Qtr Sales], SUMX ( SUMMARIZE ( DATA1, DATA1[Product], DATA1[fiscalquarter], "test", [Last year same Qtr Sales] ), [test] ) )
Then use measure in table or visual
Best Regards,
Zoe Zhi
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
After intensive struggle found this as the best and easiest way. All others have provided the fiscal week or quarter comparisions but when try to filter with any of the categories or dimensions the sales values will not change and remain the same as whole. THis worked amazingly
I used the first one and it works perfectly! Thanks so much.
By the way, what was the second measure for?
Hi mellyVK,
When you use first one in table, it won't calculate grand total automatically, so you could use second measure in table which will show grand total in table.
Best Regards,
Zoe Zhi
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Check if this can help
Thanks, but how do i calculate the quarter over quarter?
I already had the fiscal year and quarter column.
Please create a separate time table. Please find my calc for last year same Qtr
Last year same Qtr Sales = var _year = (max('OrderTime'[Order Year])-1)&"" var _qtr = max('OrderTime'[Order Qtr Name]) var _min_date = Minx(FILTER(all(OrderTime),OrderTime[Order Year]=_year && OrderTime[Order Qtr Name]=_qtr), OrderTime[Order Date]) var _max_date = MAXx(FILTER(all(OrderTime),OrderTime[Order Year]=_year && OrderTime[Order Qtr Name]=_qtr), OrderTime[Order Date]) return CALCULATE(SUM(Sales[Sales]),OrderTime[Order Date]>= _min_date && OrderTime[Order Date]<= _max_date )
See if my Time Intelligence the Hard Way provides a way of accomplishing what you are going for.
https://community.powerbi.com/t5/Quick-Measures-Gallery/Time-Intelligence-quot-The-Hard-Way-quot-TIT...
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
146 | |
87 | |
66 | |
52 | |
46 |
User | Count |
---|---|
215 | |
90 | |
83 | |
66 | |
58 |