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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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