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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. 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
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

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.

June 2025 community update carousel

Fabric Community Update - June 2025

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