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.
The Summarize function creates a table.
You cannot use it by itself in a measure.
Use New Table to create a table using the summarize function:
If you want to use it in a measure, you need to do something with the table.
AggregateX functions like MaxX, AverageX and SumX let you aggregate the rows of data.
Here for example I am using Summarize to calculate for each Quantity what the Sum of Price is.
Then using AggergateX to return the overall average.
If you are happy with this answer please mark as a solution for others to find !
Kudos are always appreciated! Check out our free Power BI video courses.
The Summarize function creates a table.
You cannot use it by itself in a measure.
Use New Table to create a table using the summarize function:
If you want to use it in a measure, you need to do something with the table.
AggregateX functions like MaxX, AverageX and SumX let you aggregate the rows of data.
Here for example I am using Summarize to calculate for each Quantity what the Sum of Price is.
Then using AggergateX to return the overall average.
If you are happy with this answer please mark as a solution for others to find !
Kudos are always appreciated! Check out our free Power BI video courses.
User | Count |
---|---|
5 | |
4 | |
3 | |
2 | |
2 |
User | Count |
---|---|
8 | |
6 | |
4 | |
4 | |
4 |