Forum Discussion
Matrix Table One extra column for icon
- Anonymous2 years ago
Hi FECStevenL ,
Please have a try.
Create a measure.
Trend Indicator = VAR CurrentWeekValue = CALCULATE(SUM('Table'[Potential Savings]), 'Table'[Week Ending Date] = MAX('Table'[Week Ending Date])) VAR PreviousWeekValue = CALCULATE(SUM('Table'[Potential Savings]), 'Table'[Week Ending Date] = MAX('Table'[Week Ending Date]) - 7) RETURN IF(CurrentWeekValue > PreviousWeekValue, "Up", IF(CurrentWeekValue < PreviousWeekValue, "Down", "Same"))How to Get Your Question Answered Quickly - Microsoft Fabric Community
If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .
Best Regards
Community Support Team _ RongtieIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi FECStevenL ,
Please have a try.
Create a measure.
Trend Indicator =
VAR CurrentWeekValue = CALCULATE(SUM('Table'[Potential Savings]), 'Table'[Week Ending Date] = MAX('Table'[Week Ending Date]))
VAR PreviousWeekValue = CALCULATE(SUM('Table'[Potential Savings]), 'Table'[Week Ending Date] = MAX('Table'[Week Ending Date]) - 7)
RETURN
IF(CurrentWeekValue > PreviousWeekValue, "Up", IF(CurrentWeekValue < PreviousWeekValue, "Down", "Same"))
How to Get Your Question Answered Quickly - Microsoft Fabric Community
If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .
Best Regards
Community Support Team _ Rongtie
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.