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

New Measure Column

First, let me prefice by saying that I am extremely new at Power BI.

 

I have 2 date columns where I want to get the number of days between them. I am attempting to create a New Measure -> Column using the following formula:

 

Column = DATEDIFF(WorkOrders[AnalyzedDateActual],WorkOrders[StartDate],DAY)

 

But, I am getting the following error, "A Single value for column 'AnalyzedDateActual' in table 'WorkOrders' cannot be dtermined..." What am I doing wrong.

1 ACCEPTED SOLUTION
KHorseman
Community Champion
Community Champion

First of all are you trying to create a new measure or a new column? If it's a column, are you sure you're creating it on the correct table? If you are in the report editor view rather than the table view, and you don't have the WorkOrders table selected over on the right side, it could be trying to create this column in a different table that doesn't have single row context for that table and column.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

2 REPLIES 2
KHorseman
Community Champion
Community Champion

First of all are you trying to create a new measure or a new column? If it's a column, are you sure you're creating it on the correct table? If you are in the report editor view rather than the table view, and you don't have the WorkOrders table selected over on the right side, it could be trying to create this column in a different table that doesn't have single row context for that table and column.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Thank you! That was exactly the issue - I did not have the correct table selected.

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.