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

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.

Reply
tex628
Community Champion
Community Champion

Matrix formatting

Hello! 

I'm having issues with formatting a matrix to a specific way. 

I want to keep the aggregated value on the title row but have the underlying row value be blank.

From thisFrom thisTo thisTo this

___________________________________________

Example datasetExample dataset
Is this possible to accomplish?


Connect on LinkedIn
1 ACCEPTED SOLUTION

Well as displaying the underlying value is the aim, drilling up is not really an option.

I managed to find something quite close to a solution, 

I changed the rowname from blank to "-" and added another row which is lacking value.I changed the rowname from blank to "-" and added another row which is lacking value.
Then a measure:

Value_ = If(SELECTEDVALUE(Table1[Rowname])="-";"";SUM(Table1[Value]))


You get this:
image.png
I would like to replace the "-" with a blankspace, but there doesnt seem to be any way to make selectedvalue() consider " " a string value instead of BLANK(). 

If you know any workaround that would be great, otherwise I thank you for the help! 


Connect on LinkedIn

View solution in original post

2 REPLIES 2
v-yuta-msft
Community Support
Community Support

@tex628,

 

I'm afraid this can't be achieved directly in power bi. As a workaround, you can click drill up on the left-top hand of the matrix visual.

Capture.PNG 

 

Community Support Team _ Jimmy Tao

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Well as displaying the underlying value is the aim, drilling up is not really an option.

I managed to find something quite close to a solution, 

I changed the rowname from blank to "-" and added another row which is lacking value.I changed the rowname from blank to "-" and added another row which is lacking value.
Then a measure:

Value_ = If(SELECTEDVALUE(Table1[Rowname])="-";"";SUM(Table1[Value]))


You get this:
image.png
I would like to replace the "-" with a blankspace, but there doesnt seem to be any way to make selectedvalue() consider " " a string value instead of BLANK(). 

If you know any workaround that would be great, otherwise I thank you for the help! 


Connect on LinkedIn

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.