Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi everyone,
Is there a way to avoid repetition of values (Measure) in Matrix? 2nd view is the one I want to achieve.
Solved! Go to Solution.
@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
Proud to be a 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
Proud to be a Super User! |
|
@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.
User | Count |
---|---|
14 | |
9 | |
7 | |
7 | |
6 |
User | Count |
---|---|
21 | |
11 | |
10 | |
9 | |
8 |