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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

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
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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