Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hello,
I have a data matrix running in Direct Query mode.
In the Values field of the matrix I have placed the Quantity with Summarization set to Average.
How can I still display the averages, but have the Sum of all the averages in the Total column.
So the Total column would display 175.84 for 2020 and 10.3 for 2021?
Thanks in advance.
@ed_raji , Try a measure like
sumx(values(Table[celdatetime]), calculate(Average(Table[Quantity])))
Once the measure is created, how do you reference it in the Total column of the matrix?
Hi @ed_raji ,
Please create a measure and put it in value of matrix:
measure = IF(HASONEVALUE('Table'[PriceAreaName]),AVERAGE('Table'[Quantity]),SUM('Table'[Quantity]))
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Best Regards,
Dedmon Dai
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
111 | |
94 | |
83 | |
67 | |
59 |
User | Count |
---|---|
151 | |
121 | |
104 | |
87 | |
67 |