The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
I am trying to use quick measures to find the max, min, and average by brand. The report page is filtered for a specific model (example: Ford F-150), but I want to know the aggegation by Brand only, not for the specific model within the Brand.
Brand | GrossRev |
ford | 3.7 |
toyota | 4.3 |
ford | 5.1 |
Here's the quick measure that is calculating the value for the specific page report (Ford F-150).
Thank you for your help.
My mistake. The [Brand] and [GrossRev] are on separate tables that share a projectID.
Hi @zachtatum ,
How to Get Your Question Answered Quickly
If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .
Best Regards
Community Support Team _ Rongtie
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @zachtatum ,
It seems that you data like the following:
Brand |
GrossRev |
ford | 3.7 |
toyota | 4.3 |
ford | 5.1 |
Please have a try.
max_measure =
MAXX (
FILTER ( ALL ( table ), table[brand] = SELECTEDVALUE ( table[brand] ) ),
table[grossrev]
)
min_measure =
MINX (
FILTER ( ALL ( table ), table[brand] = SELECTEDVALUE ( table[brand] ) ),
table[grossrev]
)
AVERAGEX_measure =
AVERAGEX (
FILTER ( ALL ( table ), table[brand] = SELECTEDVALUE ( table[brand] ) ),
table[grossrev]
)
How to Get Your Question Answered Quickly
If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .
Best Regards
Community Support Team _ Rongtie
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
User | Count |
---|---|
109 | |
80 | |
71 | |
51 | |
50 |
User | Count |
---|---|
123 | |
119 | |
76 | |
64 | |
60 |