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
Hello,
This is sort of a part 2 to a previous question I have posed.
https://community.fabric.microsoft.com/t5/Desktop/Average-Daily-Volume-within-Date-Range/td-p/335584...
I need to display on a card the % change of ticket volume created Yesterday (dynamic - update each day) compared to a Historical Daily Average volume (the linked topic above).
My data is fairly simple;
Ticket ID, Create Date, (some other unconsequential columns..)
Desired result:
"+4%" (Yesterday's volume divided by Historical Daily Average (within a static date range))
Solved! Go to Solution.
Hi @Anonymous
Based on your expression, I created the following sample data and solution.
Sample data
Calendar table
Then you can refer to the following measures, I create a measure to assume that the data of yesterday is 50.
Average = CALCULATE(AVERAGE('Table'[Sales]),FILTER('Calendar',[Date]>=DATE(2016,1,1)&&[Date]<=DATE(2017,12,31)))
Yesterday = 50
% Change = DIVIDE([Yesterday]-[Average],[Average])
Output
Best Regards!
Yolo Zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If the solution above cannot solve your problem, can you offer some sample data or picture so that can provide some useful suggestion.
Hi @Anonymous
Based on your expression, I created the following sample data and solution.
Sample data
Calendar table
Then you can refer to the following measures, I create a measure to assume that the data of yesterday is 50.
Average = CALCULATE(AVERAGE('Table'[Sales]),FILTER('Calendar',[Date]>=DATE(2016,1,1)&&[Date]<=DATE(2017,12,31)))
Yesterday = 50
% Change = DIVIDE([Yesterday]-[Average],[Average])
Output
Best Regards!
Yolo Zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If the solution above cannot solve your problem, can you offer some sample data or picture so that can provide some useful suggestion.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
User | Count |
---|---|
93 | |
84 | |
82 | |
74 | |
49 |
User | Count |
---|---|
160 | |
144 | |
103 | |
74 | |
57 |