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.
Hellou, can you please somebody help me?
I have pivot table like this and slicer with week.
Week | value |
1 | 10 |
2 | 20 |
3 | 30 |
4 | 40 |
5 | 50 |
6 | 60 |
7 | 70 |
8 | 80 |
9 | 90 |
10 | 100 |
If I select the tenth week, I want to see in the table only the values up to the tenth week. If I select the fourth week, I only want to see the values until the fourth week.
I create a measure like this:
=Weekslicer = IF(HASONEVALUE('Calendar'[week]);VALUES('Calendar'[week]))
.. and measure:
=var selectedweek= [Week slicer]
var currentweek=CALCULATE(max('Calendar'[week]);ALLEXCEPT('Calendar';'Calendar'[week]))
return
IF(currentweek<=selectedweek;sum(table;[vlaue]);BLANK())
Slicer still always filters only 1 selected week 😕
Solved! Go to Solution.
@Fiala This is pretty much the exact scenario for The Complex Selector: The Complex Selector - Microsoft Power BI Community
@Fiala This is pretty much the exact scenario for The Complex Selector: The Complex Selector - Microsoft Power BI Community
User | Count |
---|---|
25 | |
12 | |
8 | |
6 | |
6 |
User | Count |
---|---|
26 | |
12 | |
11 | |
9 | |
6 |