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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

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
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

May 2025 Monthly Update

Fabric Community Update - May 2025

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