Forum Discussion
Multiple Filters OR on multiple columns from multiple tables
- 2 years ago
I will have to ask you to provide samples of the MasterList table and at least two of the other participating dimension tables.
Do not include sensitive information or anything not related to the issue or question.
If you are unsure how to upload data please refer to https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216
Fair enough. In that case do a distinctcount over the Union of these tables.
NON COMPLIANT = distinctcount(union(
Filter(Values(MasterList[Name]),AD[In SCCM]="No"),
Filter(Values(MasterList[Name]),SCCM[In AD]="No"),
Filter(Values(MasterList[Name]),Defender[Onboarded]="No"),
Filter(Values(MasterList[Name]),Purview[Onboarded]="No" ),
Filter(Values(MasterList[Name]),InTune[Onboarded]="No"),
Filter(Values(MasterList[Name]), MasterSecureBaseline[State] ="Yes")
))
Sir, this is the error I recicved:
- lbendlin2 years agoSuper User
fair enough
NON COMPLIANT = countrows(distinct(union(
Filter(Values(MasterList[Name]),AD[In SCCM]="No"),
Filter(Values(MasterList[Name]),SCCM[In AD]="No"),
Filter(Values(MasterList[Name]),Defender[Onboarded]="No"),Filter(Values(MasterList[Name]),Purview[Onboarded]="No" ),
Filter(Values(MasterList[Name]),InTune[Onboarded]="No"),
Filter(Values(MasterList[Name]), MasterSecureBaseline[State] ="Yes")
)))- DeeBali2 years agoHelper I
Hello Sir, thank you for your assistance. Witht his new DAX commands, I get below error:
And for clarification, I did chnage the table name from MasterSecureBaseline to SBMissing as that is table I need to use. I I did do summarization on the State column in the SBMissing table and others as well:
Thank you.
- lbendlin2 years agoSuper User
I will have to ask you to provide samples of the MasterList table and at least two of the other participating dimension tables.
Do not include sensitive information or anything not related to the issue or question.
If you are unsure how to upload data please refer to https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216