Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowTry your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join 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)
I have attached a screenshot, the threshold column is what I am trying to add
I wish to add at once only.
Thank You!
Solved! Go to Solution.
Hi,
Assuming the figures under the Week column are derived via a measure (called Measure1), write this measure
Measure = if(hasonevalue(Data[Week]),[Measure1],30)
Hope this helps.
Hi,
Assuming the figures under the Week column are derived via a measure (called Measure1), write this measure
Measure = if(hasonevalue(Data[Week]),[Measure1],30)
Hope this helps.
Hi @abdul26.
For the measure formula that you used on the value field, they will expand the calculations by current row and column groups.
I'd like to suggest you add a calculated column with a constant value, you can use it on matrix row fields to show the static values.
Regards,
Xiaoxin Sheng
| User | Count |
|---|---|
| 22 | |
| 20 | |
| 20 | |
| 19 | |
| 11 |
| User | Count |
|---|---|
| 62 | |
| 56 | |
| 46 | |
| 44 | |
| 34 |