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
Anonymous
Not applicable

measure formula refers to a column that contains many values

Hi,

 

how we can solve  this  error  :

 

I checked file  logo, the  error  message  in the  below :

 

A single value for column 'No' in table 'test' cannot be determined. This can happen when a measure formula refers to a column that contains many values without specifying an aggregation such as min, max, count, or sum to get a single result.

3 REPLIES 3
v-lili6-msft
Community Support
Community Support

hi, @Anonymous 

First you need to know that a measure operates on aggregations of data defined by the current context.

So it needs to use min, max, count, or sum to get a single result

https://www.sqlbi.com/articles/calculated-columns-and-measures-in-dax/

Second, if you still have the problem, just share some sample data and your fromula with the expected output.

 

Best Regards,

Lin

Community Support Team _ Lin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

thanks @v-lili6-msft ,

 

I used cont in measure , but the same error shows, after that I remove measure  and check refersh, in power bi desktop refreshing but once save in  power bi report server not refreshing

hi, @Anonymous 

Could you please share your sample pbix file for us have a test?

for "in power bi desktop refreshing but once save in  power bi report server not refreshing", if you could republish it and try it again.

 

Best Regards,

Lin

 

Community Support Team _ Lin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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.