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
cdawidow
Helper III
Helper III

Can anybody tell me why my dax formula is not working?

it is coming up as a synthax error for <  any ideas why ? ERROR.PNG

 

2 REPLIES 2
harshnathani
Community Champion
Community Champion

Hi @cdawidow ,

 

Answer is provided above.

 

Also would suggest you use variables and best practice to use measures in variables.

 

See this video by Jeffrey Wang.

 

https://www.csgpro.com/blog/2019/04/dax_overview_jeffrey_wang_portland_powerbiug/

 

47:01 

 

Regards,

HN

 

AntrikshSharma
Super User
Super User

Missing closing parenthesis after DESC. Use DAX Formatter to easily figure out where the error is.

https://www.daxformatter.com/

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!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 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.