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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

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

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.