Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hello,
I have monthly reports of account memberships in security groups and I am trying to figure out how highlight non-duplicate data.
Month | Account Name | Security Group |
Nov | bob | admin |
Dec | bob | admin |
Nov | jake | exchange admin |
Dec | jake | exchange admin |
Dec | billy | exchange admin |
I am trying to get it to highlight the last row since it is the unique data
I was trying (without luck)
unique = COUNTROWS(
FILTER(ALL(Data),
Data["account Name"],Data["Security Group"] =! EARLIER(Data["account Name],Data["Security Group"])
)
)
any help would be appreciated
Solved! Go to Solution.
Hi @Celborn ,try this:
- Create a calculate column:
Concat_ = 'Table'[Account Name]&'Table'[Security Group]
- Create this measure:
Color = if(CALCULATE(count('Table'[Concat_]),
ALLEXCEPT('Table','Table'[Concat_]))=1,"red","black")
- Put the measure in conditional formatting for your table:
- The result:
Best regards
Hi,
This calculated column formula should work
Is it unique? = calculate(countrows(Data),filter(Data,Data[Account Name]=earlier(Data[Account name])&&Data[Security Group]=earlier(Data[Security Group])))
Hope this helps.
Hi,
This calculated column formula should work
Is it unique? = calculate(countrows(Data),filter(Data,Data[Account Name]=earlier(Data[Account name])&&Data[Security Group]=earlier(Data[Security Group])))
Hope this helps.
Try:
Highlight non duplicate =
IF (
CALCULATE (
COUNTROWS ( 'Table' ),
ALLEXCEPT ( 'Table', 'Table'[Account Name], 'Table'[Security Group] )
) = 1,
"Light Green"
)
Sample PBIX file attached
Proud to be a Super User!
Paul on Linkedin.
Hi @Celborn ,try this:
- Create a calculate column:
Concat_ = 'Table'[Account Name]&'Table'[Security Group]
- Create this measure:
Color = if(CALCULATE(count('Table'[Concat_]),
ALLEXCEPT('Table','Table'[Concat_]))=1,"red","black")
- Put the measure in conditional formatting for your table:
- The result:
Best regards
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
97 | |
69 | |
46 | |
39 | |
33 |
User | Count |
---|---|
163 | |
110 | |
61 | |
51 | |
40 |