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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
mansiluthra12
Helper I
Helper I

want to pass table column dynamically in a measure

Hi all, 
I want to pass table column dynamically in a measure . For Example , there is measure 
Test1 =  CALCULATE(
                           COUNT(FactTable1[Id]),
                                Potential[Id] = "1",
                                          Performance[Rating ] IN {"0","1"}
                                )
Now , I want this to be make same calculation on other fact tables also. this is any generic way to pass which table to pick , considering I want to create only one measure. Column name is same in all table , so the sample table whose count needs to be calculated will be like FactTable1[Id],FactTable2[Id]. 

 

Thanks in advance, 

Mansi

1 REPLY 1
v-easonf-msft
Community Support
Community Support

Hi, @mansiluthra12 

As it stands, passing table column dynamically in a measure doesn't seem to be supported.

For your requirement , you can submit it as an idea on Power BI Ideas forum and add your comments there to make this feature coming sooner. 

 

Best Regards,
Community Support Team _ Eason

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors