Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreThe FabCon + SQLCon recap series starts April 14th at 8am Pacific. If you’re tracking where AI is going inside Fabric, this first session is a can't miss. Register now
I have created a marix with the following details
Rows: Company name
Columns: Week numbers
Values - Values
I wish to add a constant value threshold column. But if a create a measure with a constant value of 30, it will repeat for each column. (i.e. come under each week).
Also, I want to add an average column as well
I have added a sample data.
Thank You!
Solved! Go to Solution.
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.
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.
Thank you for the detailed reply @Anonymous
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 52 | |
| 44 | |
| 44 | |
| 19 | |
| 19 |
| User | Count |
|---|---|
| 70 | |
| 69 | |
| 34 | |
| 33 | |
| 30 |