Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I am trying to create a waterfall chart which displays week over week % changes in inventory sliced by Customer_Name and DMA_Code. I have tried using example from previous posted solutions, but not getting what I need.
The following provides the numbers but the slicer choices all show the same values.
Using:
Solved! Go to Solution.
@Anonymous
Try
WoW Change =
VAR lastWeekAmount =
CALCULATE (
SUM ( INVENTORY[INVENTORY]),
FILTER (
ALLSELECTED ( 'INVENTORY' ),
'INVENTORY'[Weeknum] = MIN ( 'INVENTORY'[Weeknum] ) - 1
)
)
RETURN
DIVIDE ( SUM ( INVENTORY[INVENTORY] ) - lastWeekAmount, lastWeekAmount, 0 )
________________________
If my answer was helpful, please consider Accept it as the solution to help the other members find it
Click on the Thumbs-Up icon if you like this reply 🙂
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
@Anonymous
Try
WoW Change =
VAR lastWeekAmount =
CALCULATE (
SUM ( INVENTORY[INVENTORY]),
FILTER (
ALLSELECTED ( 'INVENTORY' ),
'INVENTORY'[Weeknum] = MIN ( 'INVENTORY'[Weeknum] ) - 1
)
)
RETURN
DIVIDE ( SUM ( INVENTORY[INVENTORY] ) - lastWeekAmount, lastWeekAmount, 0 )
________________________
If my answer was helpful, please consider Accept it as the solution to help the other members find it
Click on the Thumbs-Up icon if you like this reply 🙂
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
User | Count |
---|---|
25 | |
11 | |
8 | |
6 | |
6 |
User | Count |
---|---|
30 | |
13 | |
11 | |
9 | |
6 |