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
naizam
Helper II
Helper II

Display default values in Table visual

Hello experts,

 

Looking for a solution/work around to a problem that i ran into. I have a dashboard with 4 tiles (table visual displayed to look like a card) on top row. These tiles display the count of 4 different status. Another table visual displayed in the bottom which shows everything by default. User can click on any status count on top and the bottom visual will filter to only show the selected status. 

 

What i am trying to achieve is display only Active status in the bottom table by default. User should have the ability to select any other status by clicking on the top staus count as well. Is there a any way to get this done? SampleSample

Thanks,

Naizam

3 REPLIES 3
v-alq-msft
Community Support
Community Support

Hi, @naizam 

 

If you take the answer of someone, please mark it as the solution to help the other member0s who have same problems find it more quickly. If not, let me know and I'll try to help you further. Thanks.

 

Best Regards

Allan

Hi @v-alq-msft ,

 

Thank you for the solution, appreciate it. I havent had a chance to try this yet. I will update the outcome in next couple of days.

 

Thanks,

Naizam

v-alq-msft
Community Support
Community Support

Hi, @naizam 

 

Based on your description, I created data to reproduce your scenario. The pbix file is attached in the end.

e1.png

 

You may create measures as below.

Top Active = 
COALESCE(
    CALCULATE(
        DISTINCTCOUNT('Table'[ID]),
        FILTER(
            ALLSELECTED('Table'),
            [Status]="Active"
        )
    ),0
)
Top Retired = 
COALESCE(
    CALCULATE(
        DISTINCTCOUNT('Table'[ID]),
        FILTER(
        ALLSELECTED('Table'),
        [Status]="Retired"
        )
    ),0
)
Top On Hold = 
COALESCE(
    CALCULATE(
        DISTINCTCOUNT('Table'[ID]),
        FILTER(
        ALLSELECTED('Table'),
        [Status]="On Hold"
        )
    ),0
)
Top Migrated to AWS = 
COALESCE(
    CALCULATE(
        DISTINCTCOUNT('Table'[ID]),
        FILTER(
        ALLSELECTED('Table'),
        [Status]="Migrated to AWS"
        )
    ),0
)
Bottom Active = 
COALESCE(
    CALCULATE(
        DISTINCTCOUNT('Table'[ID]),
        FILTER(
        ALL('Table'),
        [Status]="Active"
        )
    ),0
)
Bottom Retired = 
COALESCE(
    CALCULATE(
        DISTINCTCOUNT('Table'[ID]),
        FILTER(
        ALL('Table'),
        [Status]="Retired"
        )
    ),0
)
Bottom On Hold = 
COALESCE(
    CALCULATE(
        DISTINCTCOUNT('Table'[ID]),
        FILTER(
        ALL('Table'),
        [Status]="On Hold"
        )
    ),0
)
Bottom Migrated to AWs = 
COALESCE(
    CALCULATE(
        DISTINCTCOUNT('Table'[ID]),
        FILTER(
        ALL('Table'),
        [Status]="Migrated to AWS"
        )
    ),0
)

 

Result:

e2.png

 

If I misunderstand your thoughts, please show us some sample data and the expected result. Thanks.

 

Best Regards

Allan

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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.

Top Solution Authors