Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi All,
Need some help with my waterfall chart. As a novice in Power BI, I've been trying to bring myself up to speed via reading different tutorials and YT resources followed by lots of practice but the time based functions seem to be the most challenging for me.
Problem: I have one data set in which I need to show how much Bundle Data Traffic increased from Feb'22 to Mar'22. Currently, my waterfall chart shows the comparison of whole Feb average vs the MTD average for Mar. Ideally i'd like the waterfall chart to show the same period comparison (e.g. from 14th of Feb till 14 of Mar). Is there any way to achieving this?
Thanks.
Solved! Go to Solution.
Hi @Oharoonchipz ,
You can change dax to the following form:
CM Data Traffic =
VAR _lastActualValue =
MAX ( Traffic[Date] )
RETURN
IF (
SELECTEDVALUE ( Dates[Date] ) <= _lastActualValue,
CALCULATE (
'Data Traffic Measures'[Daily Avg Data Traffic],
FILTER (
ALL ( Dates ),
Dates[Date]
>= DATE ( YEAR ( TODAY () ), MONTH ( TODAY () ) - 1, DAY ( TODAY () ) )
&& Dates[Date] <= TODAY ()
)
)
)
If I have misunderstood your meaning, please provide your desired output and your pbix file without privacy information.
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Oharoonchipz ,
You can change dax to the following form:
CM Data Traffic =
VAR _lastActualValue =
MAX ( Traffic[Date] )
RETURN
IF (
SELECTEDVALUE ( Dates[Date] ) <= _lastActualValue,
CALCULATE (
'Data Traffic Measures'[Daily Avg Data Traffic],
FILTER (
ALL ( Dates ),
Dates[Date]
>= DATE ( YEAR ( TODAY () ), MONTH ( TODAY () ) - 1, DAY ( TODAY () ) )
&& Dates[Date] <= TODAY ()
)
)
)
If I have misunderstood your meaning, please provide your desired output and your pbix file without privacy information.
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Traffic = CALCULATE (
Sum(Traffic),
DATEADD ( 'Date'[Date], -1, MONTH))
Did I answer your question? If so, please mark my post as a solution!
Proud to be a Super User!
I have this already for my CM Traffic
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 39 | |
| 37 | |
| 33 | |
| 32 | |
| 29 |
| User | Count |
|---|---|
| 132 | |
| 88 | |
| 82 | |
| 68 | |
| 64 |