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
ben249
Helper I
Helper I

Formula returning blank

Can anybody tell me why this formula is returning blanks? I would have expected the Year 1 Revenue column to return the Value column as it reaches the end of the formula without passing the first lot of criteria:

 

ben249_0-1658934015227.png

 

3 REPLIES 3
Anonymous
Not applicable

Hi @ben249 ,

 

There are many nested IF() statements in your syntax ,which make it hard to read. In this case,  I'd suggest you use SWITCH() instead.

 

In addition, please provide some dummy data and the logic of conditions in Text format to help us clarify your scenario.

 

Refer to:

How to Get Your Question Answered Quickly - Microsoft Power BI Community

How to provide sample data in the Power BI Forum - Microsoft Power BI Community

 

 

Best Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

pmay
Resolver I
Resolver I

This DAX is not easy to read - I would suggest you format it first and upload again, then it will be easier for us (and you) to see which IF's are related and where they end.

 

Use this link:

https://www.daxformatter.com/

Hi @pmay , thanks for the response

Hopefully this is a bit clearer

ben249_0-1658935956205.png

 

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.