Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
yogita
Frequent Visitor

Matrix Question

 Hi All, I have created a matrix which has three fields in rows Phasecode, Phasecode Desc and Emplyee name and then I have revised Est for Each Phasecode. I donot want the value of Revised Est repeated in for Phasecode Desc and Emplyee name. How can I achive the matrix view as shown below in the right.

yogita_0-1651009426124.png

 

5 REPLIES 5
GilbertQ
Super User
Super User

Hi @yogita 

 

What happens if you had to change it only looking for where the INSCOPE using an IF statement instead of the switch true?





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

No Change. 

yogita_0-1651025032020.png

 

GilbertQ
Super User
Super User

Hi @yogita 

 

Off the top of my head you would need to create a DAX measure and use the ISINSCOPE DAX funtion, which you can then look at the scope/level of your hierarchy and then set it to blank on those hierarchy levels.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

Hi @GilbertQ 

 

Yes I am using the below measure. The problem is that it is showing revised est only at the phase code level. I want the value only against the Phasecode when the entire hirerchy is expanded.

Revised Est =
Var _New =CALCULATE(min(ProjectModuleDataView[RevisedEstimate]))
RETURN
Switch(true(),
ISINSCOPE(ProjectModuleDataView[Employee_Name]),"-",
ISINSCOPE(ProjectModuleDataView[PhasecodeDesc]),"-",
ISINSCOPE(ProjectModuleDataView[Phasecode]),_New)
 
Thanks
yogita
Frequent Visitor

@GilbertQ - Can you suggest changes to the measure? Not able to figure out myself.  Thanks 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.