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,
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 iteration but when clicking in another week, update this value from that week.
I know that we can achieve this with edit interactions but I want that when I open my report, show just the value from current week, not sum of all weeks.
For instance:
Now, we are on iteration 2019w08 and we are selling umbreallas and our goal is 500 umbreallas per week.
Week and #
2019w06 - 321
2019w07 - 121
2019w08 - 711
Use case:
When open report, show 711 with goal 500
When clicking 2019w07, show 121 with goal 500
Current value:
When open report, show 711 + 121 + 321 with goal 500 + 500 +500
Thanks
Solved! Go to Solution.
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)
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)
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 38 | |
| 37 | |
| 33 | |
| 32 | |
| 29 |
| User | Count |
|---|---|
| 132 | |
| 88 | |
| 82 | |
| 68 | |
| 64 |