Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi,
I want to show the max number of movements per hour in a card in the right upper corner.
As you can see, I currently get the value 377 as a result. This is fault because it's the sum of the Max values.
Below in the table, the last column "max (per uur)" shows the max values. So in this case I want to show 79 as max value instead of 377.
I've tried with the following measures:
Can someone help me with this?
Thanks
Hi @Stel,
I'd like to suggest you take a look at the following blog about measure total, it should suitable for your scenario:
Measure Totals, The Final Word
Regards,
Xiaoxin Sheng
The use of Summarize and count and max means count till this level(dim_time[time_hour24]) and then take max.
is this correct row context dim_time[time_hour24] ?
@amitchandak , I want the max movements per hour. The dim_time is a time table and the column [time_hour24] represents the hours in 24 format. Meaning 1, 2 ...24
So I would like to count all the rows of the fact_location_inventory_transaction in an hour. So number of rows with same value in time_hour24. And take the max of all the values calculated. Independent of from/to date selection.
For some reason at a certain point, I get the sum of the max values instead of max of max values.
My dim_date table and dim_time table are separate tables, linked to the fact_location_inventory_transaction table. Could that have something to do with it?
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
58 | |
56 | |
56 | |
38 | |
29 |
User | Count |
---|---|
75 | |
62 | |
45 | |
40 | |
39 |