Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
rahulvyas
Frequent Visitor

Visualization Not working as needed with dax measure

Visualization drill down not showing. I can only drill through the non-compliant data and not the compliant ones.

 I have created a formula to check how much data is compliant and non-compliant. For example, if the customer has all the fields populated then he is compliant, so their details are missing from the Query1 table. If the member has a missing information, then he is non-compliant and will be available in the query table.

Compliant Formula = DISTINCTCOUNT('DW v_Member'[MemberNum])/CALCULATE(DISTINCTCOUNT(Query1[MemberNum]),ALL(Query1))

Non-Compliant= 1- ( DISTINCTCOUNT('DW v_Member'[MemberNum])/CALCULATE(DISTINCTCOUNT(Query1[MemberNum]),ALL(Query1)))

I have also created a calculated column in the member table to check if I can showcase both compliance and Non-compliance data but that is also not working

Compliance Check =

IF(

    COUNTROWS(

        FILTER(

            Query1,

            Query1[MemberNum] = 'DW v_Member'[MemberNum]

        )

    ) > 0,

    "Non Compliant",

    "Compliant"

)

Table information :

Dw_Member: is a fact table with all customer information

Branch is a fact table with all of company branches

Date table

Query 1 comprises of only those customers whose profile has a missing information for example date of birth or address etc. A customer can appear more than once if they have multiple information missing

rahulvyas_0-1684369844188.png

Donut chart appears correctly with compliant and non-compliant measures but all other measures are not getting drilled through see second chart 

 rahulvyas_1-1684369868535.png

rahulvyas_2-1684369972218.png

 

 

0 REPLIES 0

Helpful resources

Announcements
Sept PBI Carousel

Power BI Monthly Update - September 2024

Check out the September 2024 Power BI update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

Find out what's new and trending in the Fabric Community.