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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote 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
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 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.