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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
aishak12
Helper IV
Helper IV

Single value for column error

Does anyone know what this error details and how to resolve this.

 

aishak12_0-1614564923435.png

 

1 ACCEPTED SOLUTION
v-xiaoyan-msft
Community Support
Community Support

Hi@aishak12,

 

Please try measure like this :

 

GrossBillingsIF = IF( Max('table'[MonthPassed]) = 1,[Gross Billings],[Gross Billings Budgeting])
 

Hope it helps.

 

Best Regards,

Caitlyn Yan

 

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

View solution in original post

3 REPLIES 3
v-xiaoyan-msft
Community Support
Community Support

Hi@aishak12,

 

Please try measure like this :

 

GrossBillingsIF = IF( Max('table'[MonthPassed]) = 1,[Gross Billings],[Gross Billings Budgeting])
 

Hope it helps.

 

Best Regards,

Caitlyn Yan

 

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

pranit828
Community Champion
Community Champion

Hi @aishak12 

Looks like you are trying to create a column.

But in the DAX formula you have used a measure which is underlined in red.

In the same formula try SELECTEDVALUE('table'[MonthPassed] instead.





PBI_SuperUser_Rank@1x.png


Hope it resolves your issue? 
Did I answer your question? Mark my post as a solution!

Appreciate your Kudos, Press the thumbs up button!!
Linkedin Profile

Can you help write out the formula, I currently have:

GrossBillingsIF = IF SELECTEDVALUE('table'[MonthPassed] = 1,[Gross Billings],[Gross Billings Budgeting])
 
which is saying "Selectedvalue" is incorrect

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.