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
non23
Helper I
Helper I

Do not repeat values (measure) in Matrix

Hi everyone,

 

Is there a way to avoid repetition of values (Measure) in Matrix? 2nd view is the one I want to achieve.

Screenshot 2024-07-23 130509.png

1 ACCEPTED SOLUTION
bhanu_gautam
Super User
Super User

@non23 , Create a new measure for this using rank

 

Units_Display =
IF (
ISINSCOPE('YourTable'[Size]),
IF (
RANKX(
ALLSELECTED('YourTable'[Size]),
CALCULATE(SUM('YourTable'[Units (Measure)])),
,
ASC,
DENSE
) = 1,
SUM('YourTable'[Units (Measure)]),
BLANK()
),
SUM('YourTable'[Units (Measure)])
)

 

Instead of Unit(Measure)  use this in matrix view




Did I answer your question? Mark my post as a solution! And Kudos are appreciated

Proud to be a Super User!




LinkedIn






View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi @non23 can you please share the data.

bhanu_gautam
Super User
Super User

@non23 , Create a new measure for this using rank

 

Units_Display =
IF (
ISINSCOPE('YourTable'[Size]),
IF (
RANKX(
ALLSELECTED('YourTable'[Size]),
CALCULATE(SUM('YourTable'[Units (Measure)])),
,
ASC,
DENSE
) = 1,
SUM('YourTable'[Units (Measure)]),
BLANK()
),
SUM('YourTable'[Units (Measure)])
)

 

Instead of Unit(Measure)  use this in matrix view




Did I answer your question? Mark my post as a solution! And Kudos are appreciated

Proud to be a Super User!




LinkedIn






@bhanu_gautam 
what if we have text data? How do we do that?
for example 
orange are the rows I can stop them from repeating.
I cannot stop values(Black) from repeating. 

FarrukhData_0-1751939059050.png

 

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!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

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.