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

Use measure in creating new column

Hi,

 

I would like to use a measure when creating a new column.

 

For example:

I have an average productivity of 26,4 per day (which I know because my measure is showing me this).

Based on the number of working days in the week I would like to create a forecast for the week, as you can see in the table below (working days * 26,4):

 

WeekHolidaysWorking daysForecast
3105132
3205132
3314106
3405132
3514106
3605132
3705132
3805132
3905132
4005132
4105132
4214106
4305132
4405132
4505132
4605132
4714106
4805132
4905132
5005132
5105132

 

However, if I do the amount of working days times the measure that I created I get the forecast column below.

 

WeekHolidaysWorking daysForecast
31051,11111
32050,63492
33143,11111
34052,03175
35145,81269
36056,03175
37055,07937
38059,28571
39055,55556
4005 
4105 
4214 
4305 
4405 
4505 
4605 
4714 
4805 
4905 
5005 
5105 

 

Can somebody explain me how I can get the first column instead of the second.

 

Thank you :)!

1 REPLY 1
amitchandak
Super User
Super User

If the granulity of the table is below a week, then you can get issues like that. Then you may use summarize or grouping

Also, can you share the formula you have now?

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.