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
Hello
I will appreciate if somebody can help me to improve the performance of this measure. In desktop I can see in the object perfecty, but in -Service it excess resources even if I filtrer only one reference.
I am trying to obtain the measure of the next 22 weeks and select the minimum value.
If any advise about how to calculate more efficiently, I would also appreciate.
this is the measure:
Traffic light 22SEM = where SEM1 = calculate('Measures'[AccDisponible real Rolling],DATEADD('Calendar'[Date],+7,day))
@Syndicate_Admin , using a week rank column in date table joined with date of you table you can have measure like
22 week MAxx = CALCULATE(maxx(Values('Date'[Week Year]),[AccDisponible real Rolling])
,filter(all('Date'), 'Date'[Week Rank] >= Max('Date'[Week Rank]) && 'Date'[Week Rank] <= Max('Date'[Week Rank])+22))
Have these new columns in Date Table, Week Rank is Important in Date/Week Table
Week Rank = RANKX('Date','Date'[Week Start date],,ASC,Dense)
OR
Week Rank = RANKX('Date','Date'[Year Week],,ASC,Dense) //YYYYWW format
Power BI — Week on Week and WTD
https://medium.com/@amitchandak.1978/power-bi-wtd-questions-time-intelligence-4-5-98c30fab69d3
https://community.powerbi.com/t5/Community-Blog/Week-Is-Not-So-Weak-WTD-Last-WTD-and-This-Week-vs-La...
https://www.youtube.com/watch?v=pnAesWxYgJ8
Time Intelligence, Part of learn Power BI https://youtu.be/cN8AO3_vmlY?t=27510
Time Intelligence, DATESMTD, DATESQTD, DATESYTD, Week On Week, Week Till Date, Custom Period on Period,
Custom Period till date: https://youtu.be/aU2aKbnHuWs&t=145s
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 41 | |
| 38 | |
| 36 | |
| 30 | |
| 28 |
| User | Count |
|---|---|
| 128 | |
| 88 | |
| 79 | |
| 67 | |
| 62 |