Forum Discussion
blitwak
7 years agoHelper I
KPI visualization showing current week values with the ability of change of week
Hi, I want to know if it possible to have a KPI that shows current week value when I open report but when changing week, update their value. When we open our report take a look just for current ...
- 7 years ago
Hi blitwak
I hope below one of the solutions works for you.
Solution 1 : Create a measure like this
CurrentWeek1 = LASTNONBLANK(Umbrealla[Sold],SUM(Umbrealla[Sold]))
Solution 2: Create a index based on the Week number and then create a measure like thisCurrentWeek2 = VAR CurrentWeekIndex = MAX(Umbrealla[Index]) RETURN CALCULATE(SUM(Umbrealla[Sold]),Umbrealla[Index]= CurrentWeekIndex)
Both of the above solution return the same results. See below screen capture.Did I answer your question? Mark my post as a solution!Regards
um_mir
7 years agoFrequent Visitor
Hi blitwak
I hope below one of the solutions works for you.
Solution 1 : Create a measure like this
CurrentWeek1 = LASTNONBLANK(Umbrealla[Sold],SUM(Umbrealla[Sold]))Solution 2: Create a index based on the Week number and then create a measure like this
CurrentWeek2 = VAR CurrentWeekIndex = MAX(Umbrealla[Index]) RETURN CALCULATE(SUM(Umbrealla[Sold]),Umbrealla[Index]= CurrentWeekIndex)
Both of the above solution return the same results. See below screen capture.
Did I answer your question? Mark my post as a solution!
Regards