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,
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?
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 |
---|---|
63 | |
62 | |
52 | |
39 | |
24 |
User | Count |
---|---|
84 | |
57 | |
45 | |
43 | |
36 |