Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
i want to apply conditional formatting in a matrix for each row separatly instead of comparing all rows along the matrix
for example, in the image below, for each item im grouping data by month and i want to apply conditional formatting to compare values for each specific item in the selected months but seperated from other items
Solved! Go to Solution.
Hi,
I am not sure if I understood your question correctly, but please try the below.
I tried to create a sample pbix file like below, and the conditional formatting for the background color can be based on the [Ranking in a group measure].
Value total measure: =
SUM( Data[Value] )
Ranking in a group measure: =
VAR _grouptable =
CALCULATETABLE ( Data, ALLEXCEPT ( Data, 'Group'[Group] ) )
RETURN
RANKX ( _grouptable, [Value total measure:],, DESC )
Hi,
I am not sure if I understood your question correctly, but please try the below.
I tried to create a sample pbix file like below, and the conditional formatting for the background color can be based on the [Ranking in a group measure].
Value total measure: =
SUM( Data[Value] )
Ranking in a group measure: =
VAR _grouptable =
CALCULATETABLE ( Data, ALLEXCEPT ( Data, 'Group'[Group] ) )
RETURN
RANKX ( _grouptable, [Value total measure:],, DESC )
User | Count |
---|---|
24 | |
11 | |
8 | |
6 | |
6 |
User | Count |
---|---|
25 | |
12 | |
11 | |
7 | |
6 |