Forum Discussion
Adding Average and a Constant Threshold Column
- Anonymous3 years ago
Hi abdul26 ,
Here I create a sample to have a test.
I suggest you to create a Threhshold table and create a relationship between it and your Fact table.
Relationship:
Measure:
Measure = IF(HASONEVALUE('Table'[Week numbers]),SUM('Table'[Values]),AVERAGE('Table'[Values]))Create a matrix as below, we will turn off "Stepped layout" in Row headers.
We will show average in column subtotal by measure. So we need to rename it.
Result is as below.
Best Regards,
Rico ZhouIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi abdul26 ,
Here I create a sample to have a test.
I suggest you to create a Threhshold table and create a relationship between it and your Fact table.
Relationship:
Measure:
Measure =
IF(HASONEVALUE('Table'[Week numbers]),SUM('Table'[Values]),AVERAGE('Table'[Values]))
Create a matrix as below, we will turn off "Stepped layout" in Row headers.
We will show average in column subtotal by measure. So we need to rename it.
Result is as below.
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- abdul263 years agoFrequent Visitor
Thank you for the detailed reply Anonymous