Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hi all,
I have very simple measure with MAX value. Issue is that Total showing MAX value too, but I need to show SUM of all MAX values in the table.
Basically
Total should summary of all values: 60,000 for upper_value and 51,000 for lower_value.
see printscreen:
This is desktop file:
https://drive.google.com/file/d/1_R84-65eDKQunYTwyr888yID97tdhGUR/view?usp=drive_link
Thank you for your help on this!
Solved! Go to Solution.
upper_value =
var a = ADDCOLUMNS(summarizecolumns(ads[creative_id]),"m",CALCULATE(MAX(statistics[times_shown_upper_bound_region])))
return sumx(a,[m])
Hi,
thank you for your answer.
This is new link to the file: https://drive.google.com/file/d/1_R84-65eDKQunYTwyr888yID97tdhGUR/view?usp=drive_link
The size of the file has been reduced.
The file contains data from BQ public dataset. There are two metrics - impressions - lower and impressions - upper.
I have various charts and tables in the original dashboard, I need to create a measure showing total like summary and not like MAX, but the rows must remail like MAX.
This is powerbi file showing total 5000 and 4000 impressions, (individual rows are showing correct values)
and this is excel version this is what I need to see in all visualisation across dashboard.
Do you think this is possible?
upper_value =
var a = ADDCOLUMNS(summarizecolumns(ads[creative_id]),"m",CALCULATE(MAX(statistics[times_shown_upper_bound_region])))
return sumx(a,[m])
This is absolute amazing solution, thank you so much! It works!
Your sample file is way too big. Please provide sample data that fully covers your issue, but not more.
Please show the expected outcome based on the sample data you provided.
You cannot measure a measure directly. Either materialize it first, or create a separate measure that implements the entire business logic.
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 |
---|---|
16 | |
13 | |
12 | |
11 | |
11 |
User | Count |
---|---|
19 | |
14 | |
14 | |
11 | |
9 |