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,
This is regarding a performance trend report. Please feel free to share ideas. I have a rolling/moving average measur for my numreric data for trend analytics and to show the trend, I am using both inbuilt and custom visuals. I want to take it to next level and build something that shows below;
"Over a period of time, if this rolling/moving average is decreasing/increasing", then I would like to show that specific category. The challenge here is to dynamically identify the category for which the rolling average is decreasing/increasing over a period of time(lets say 3 months). Manually I can easily do analysis on charts and figure out which one is decreasing/increasing.
Solved! Go to Solution.
Hi @Anonymous
Waterfall charts shows increase and decrease trends.
https://radacad.com/power-bi-waterfall-chart-whats-that-all-about
You can tell Power BI to explain increses or decreases in charts as below:
https://docs.microsoft.com/en-us/power-bi/desktop-insights
Best Regards
Maggie
Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous ,
Try this approach. Create these measures for the moving averages this month and last month
Rolling Average CM =
VAR __LAST_DATE =
LASTDATE ( 'Table'[Date] )
VAR __DATE_PERIOD =
DATESBETWEEN (
'Table'[Date].[Date],
STARTOFMONTH ( DATEADD ( __LAST_DATE, -2, MONTH ) ),
__LAST_DATE
)
RETURN
IF (
__LAST_DATE <> BLANK (),
AVERAGEX (
CALCULATETABLE (
SUMMARIZE (
VALUES ( 'Table' ),
'Table'[Date].[Year],
'Table'[Date].[QuarterNo],
'Table'[Date].[Quarter],
'Table'[Date].[MonthNo],
'Table'[Date].[Month]
),
__DATE_PERIOD
),
CALCULATE ( [Sum of Value] )
)
)
Rolling Average LM =
VAR __LAST_DATE =
DATEADD ( LASTDATE ( 'Table'[Date] ), -1, MONTH )
VAR __DATE_PERIOD =
DATESBETWEEN (
'Table'[Date].[Date],
STARTOFMONTH ( DATEADD ( __LAST_DATE, -2, MONTH ) ),
EOMONTH ( __LAST_DATE, 0 )
)
RETURN
IF (
__LAST_DATE <> BLANK (),
AVERAGEX (
CALCULATETABLE (
SUMMARIZE (
VALUES ( 'Table' ),
'Table'[Date].[Year],
'Table'[Date].[QuarterNo],
'Table'[Date].[Quarter],
'Table'[Date].[MonthNo],
'Table'[Date].[Month]
),
__DATE_PERIOD
),
CALCULATE ( [Sum of Value] )
)
)
Create another measure to compute for the difference betweent the two measures above:
Rolling Average MoM Difference =
[Rolling Average CM] - [Rolling Average LM]
Use this measure in your visual.
Proud to be a Super User!
Hi @Anonymous
Waterfall charts shows increase and decrease trends.
https://radacad.com/power-bi-waterfall-chart-whats-that-all-about
You can tell Power BI to explain increses or decreases in charts as below:
https://docs.microsoft.com/en-us/power-bi/desktop-insights
Best Regards
Maggie
Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Please see this post regarding How to Get Your Question Answered Quickly: https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490
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 |
---|---|
114 | |
76 | |
57 | |
52 | |
44 |
User | Count |
---|---|
167 | |
117 | |
63 | |
57 | |
50 |