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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

Creating Measure for distinct table and dim table

I have created a Distinct table(DisAcntName) for AccountName column from one dim table(Accounts) and there is one more dim table(DimID) which contains ID column.

Now I added AccountName in slicer and ID in table visuals. if I select something in the slicer it should reflect in Table visual.

pl share the measure to the above requirement.

 

Note - DisAcntName table is not joined with any table. It is independent.

2 REPLIES 2
v-easonf-msft
Community Support
Community Support

Hi, @Anonymous 

You need to apply a filter measure to table visual filter pane.

filter =
VAR a =
    IF (
        SELECTEDVALUE ( Accounts[AccountName] ) IN VALUES ( DisAcntName[AccountName] ),
        1,
        0
    )
RETURN
    IF ( ISFILTERED ( Accounts[AccountName] ), a, 1 )

veasonfmsft_0-1665400279437.png

Best Regards,
Community Support Team _ Eason

davehus
Memorable Member
Memorable Member

Hi @Anonymous ,

 

Have you got an example that you can share?

 

 

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors