Don't miss your chance to take exam DP-600 or DP-700 on us!
Request nowLearn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hi,
I will greatly appreciate help in finding the difference between dates values within a matrix inorder to determine WoW%.
Desired out put in screen shot below.
This visual was obtain using the new tool New Calculation(fx) but has limitation of not being able to export data with these calculations.
These are the calculation used.
Solved! Go to Solution.
@Joe_Barry Thanks for your contribution on this thread.
Hi @Merle ,
You can create a measure as below to get it, please find the details in the attachment.
WOW =
VAR _pcdate =
SELECTEDVALUE ( 'Table'[Purchase Complete] )
VAR _category =
SELECTEDVALUE ( 'Table'[Category] )
VAR _predate =
CALCULATE (
MAX ( 'Table'[Purchase Complete] ),
FILTER (
ALLSELECTED ( 'Table' ),
'Table'[Category] = _category
&& 'Table'[Purchase Complete] < _pcdate
)
)
VAR _prevalue =
CALCULATE (
SUM ( 'Table'[Sales] ),
FILTER (
ALLSELECTED ( 'Table' ),
'Table'[Category] = _category
&& 'Table'[Purchase Complete] = _predate
)
)
RETURN
DIVIDE ( SUM ( 'Table'[Sales] ) - _prevalue, _prevalue )
Best Regards
Hi Joe,
Thanks for your response. Dax Formula used is giving the same value as the date column not the difference between the column dates of the previous. Is there a different way to format this formula? Thank you.
@Joe_Barry Thanks for your contribution on this thread.
Hi @Merle ,
You can create a measure as below to get it, please find the details in the attachment.
WOW =
VAR _pcdate =
SELECTEDVALUE ( 'Table'[Purchase Complete] )
VAR _category =
SELECTEDVALUE ( 'Table'[Category] )
VAR _predate =
CALCULATE (
MAX ( 'Table'[Purchase Complete] ),
FILTER (
ALLSELECTED ( 'Table' ),
'Table'[Category] = _category
&& 'Table'[Purchase Complete] < _pcdate
)
)
VAR _prevalue =
CALCULATE (
SUM ( 'Table'[Sales] ),
FILTER (
ALLSELECTED ( 'Table' ),
'Table'[Category] = _category
&& 'Table'[Purchase Complete] = _predate
)
)
RETURN
DIVIDE ( SUM ( 'Table'[Sales] ) - _prevalue, _prevalue )
Best Regards
Hi @Anonymous,
Thank you again for your solution to my previous question.
I have encountered an issue in finding the Conversion rate (CR) of two measures between dates. Can you please assist me with this?
CR Formula = Upgrade / Signups
Expected results:
I have tried your dax formula with a slight modification:
This is my result, it is only calculating the first date between Upgrade and Signups.
Found a Solution to this
Found a solution to this.
Hi @Merle
Maybe this will help? https://community.fabric.microsoft.com/t5/Desktop/WoW-trend-calculation/m-p/533645/highlight/true#M2...
Thanks
Joe
If you found my answer helpful and it solved your issue, please accept as solution
Proud to be a Super User! | |
Date tables help! Learn more
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 6 | |
| 4 | |
| 3 | |
| 3 | |
| 3 |