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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Yael
Helper IV
Helper IV

DAX Measures error

Hello,

 

I'm connecting live to PBI with Tabular model, and having trouble with some DAX measures.

I can't create DAX measures with "if" statements... the column name is highlighted in red, but no explicit error text is provided...

Do all measures need to include an aggregative function (sum, avg, max...)? Or can DAX measures just be some logic expression like if?

 

Thank you!

1 ACCEPTED SOLUTION
vanessafvg
Super User
Super User

@Yael all measures need to be aggregated, otherwise you need to use a calculated column (not sure thats possible in a live connection to tabular)





If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

Proud to be a Super User!




View solution in original post

2 REPLIES 2
vanessafvg
Super User
Super User

@Yael all measures need to be aggregated, otherwise you need to use a calculated column (not sure thats possible in a live connection to tabular)





If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

Proud to be a Super User!




Thanks a lot @vanessafvg !

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.