Forum Discussion
Anonymous
5 years agoNot applicable
Calculated Column
Hi Guys, Please refer the below table where I have the first 2 columns in my report and the 3rd is the desired column when the Annual Usage is divided by 1000 where ever type name is Electric. ...
- 5 years ago
Anonymous , Try a measure like
Annual Usage (MWh) = round(CALCULATE(SUM(Deals[AnnualUsage]),FILTER(Deals,Deals[typename]="Electric"))/1000.0,0)
Or new column like
new column = if([typename]="Electric", round([AnnualUsage]/1000.0,0), 0) +0
amitchandak
Super User
5 years agoAnonymous , Try a measure like
Annual Usage (MWh) = round(CALCULATE(SUM(Deals[AnnualUsage]),FILTER(Deals,Deals[typename]="Electric"))/1000.0,0)
Or new column like
new column = if([typename]="Electric", round([AnnualUsage]/1000.0,0), 0) +0
- Anonymous5 years agoNot applicable
Thanks for your help !!!
The below solved my issue
new column = if([typename]="Electric", round([AnnualUsage]/1000.0,0), 0) +0
Regards,
Himanshu