Forum Discussion
Jwah
4 years agoFrequent Visitor
Identify changing row values - alternating row colours grouping
Hi All A user wants a table with some repeating information to display alternating background colours to show they belong to the same ID. Basically I want each row to check if the ID is the ...
- 4 years ago
Amazing that after posting this, the forum suggested this as a solution:
Solved: Re: Alternate row colour after 7 rows/after each n... - Microsoft Power BI Community
EvenOdd = IF(ISEVEN(RANKX(ALLSELECTED('Table'),CALCULATE(SELECTEDVALUE('Table'[ID])),,ASC,Dense)) = TRUE(),1,0)
Jwah
4 years agoFrequent Visitor
Amazing that after posting this, the forum suggested this as a solution:
Solved: Re: Alternate row colour after 7 rows/after each n... - Microsoft Power BI Community
EvenOdd = IF(ISEVEN(RANKX(ALLSELECTED('Table'),CALCULATE(SELECTEDVALUE('Table'[ID])),,ASC,Dense)) = TRUE(),1,0)