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.
Hi All,
I have a scenario where I have3 years of Data and on that i need to Calculate Rank the prices by Date and Location column.
The Granularity of data is hourly , so per day for each location I have prices for 24 hours.
My requirement is rank the prices for each day by mktlocation . I tried using
top4 =
VAR RANK_ = RANKX(ALL(Table[Date],table[Location]),CALCULATE(SUM(table[TotalPrice])),,DESC)
//returns top 4 months only
RETURN
CALCULATE ( MAX ( 'Table'[TotalPrice]), FILTER ( 'Table', RANK_ <= 4 ) )
This code gives me error -This visual has exceeded the available resources".
I also tried grouping on model level but the result never showed up for me.
Any help would be really appreciated.
Solved! Go to Solution.
Hi,
Hi,
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
18 | |
7 | |
6 | |
5 | |
5 |
User | Count |
---|---|
23 | |
10 | |
10 | |
9 | |
7 |