Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi all,
I'd like to ask hypothetical question.
Let's imagine, that you have measure created in PBI: 'myPBImeasure=COUNTROWS( TableName )'. And now scenario 2: Let's create a table, which will have two columns: 'MeasureName' & 'MeasureDAX'. 'MeasureName' will be text 'DAXforCount' ; 'MeasureDAX' will be text '=COUNTROWS( TableName )'. Is there some way how to execute content of 'MeasureDAX' in PBI?
This is really only theoretical question.
Thanks!
Hi @jcichansky18 ,
Does the replies above solve your problem? If it has been solved, please mark the correct reply as the standard answer to help the other members find it more quickly.Thanks in advance for your kind cooperation!
Hope it helps,
Community Support Team _ Caitlyn
If this post helps then please consider Accept it as the solution to help the other members find it more quickly.
I don't believe that is currently possible (it is in the query editor with M code, but that is not what you asked). However, you likely can use a disconnected table or a calculation group to get the same effect.
Pat
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!