Forum Discussion
Output Status as Column
Hi
Create a column as given below.
- Anonymous7 years agoNot applicable
Hi Thanks for your respose.
I tried your suggestion but its not working.
Let me re iterate the thing.
In the below screenshot
if i select may 16 in date then status should show as Billable i.e.,Billable count = 1 and partially Billable =0
if i select may 9 in date then status should show as PB i.e.,Billable count = 0 and partially Billable =1
if i select may 23 in date then status should show as PB i.e.,Billable count = 0 and partially Billable =1
if i select may 16 and may 9 both in date then it is 70 hours out of 80 then status should show as partially Billable i.e.,Billable count = 0 and partially Billable =1
Thanks in Advance
- v-lili6-msft7 years ago
Community Support
HI, Anonymous
You could just create a measure instead of [Cstatus] column.
Measure = IF ( DIVIDE ( CALCULATE ( SUM ( 'Table'[Billing Hours] ) ), CALCULATE ( SUM ( 'Table'[HoursForWeek] ) ) ) < 1, "PB", "Billable" )Result:
here is pbix file, please try it.
Best Regards,
Lin
- Anonymous7 years agoNot applicable
Hi v-lili6-msft ,
Thanks for your respose. It is working as expected but i want that as column because I would like to see that in Pie Chart.
Regards,
Prakash