March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch 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!
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
115 | |
76 | |
57 | |
52 | |
44 |
User | Count |
---|---|
164 | |
116 | |
63 | |
57 | |
50 |