Forum Discussion
bunkertrust
6 years agoFrequent Visitor
DAX Calculate is calculating wrong lines
Hi I am trying to calculate different fuel quantity losses using the DAX calculate. Problem is that it is also calculating the lines that are not relevant for the specific fuel type. We have IF...
Anonymous
6 years agoNot applicable
You have added to many parenthesis.
try this
IFO Loss MT = calculate(SUM('bunkertrust_com_db vBunkerOperationsFirstView'[bunker_ifo_received_vessel_figure]), FILTER('bunkertrust_com_db vBunkerOperationsFirstView', 'bunkertrust_com_db vBunkerOperationsFirstView'[bunker_ifo_received_vessel_figure]="IFO")) - CALCULATE(SUM('bunkertrust_com_db vBunkerOperationsFirstView'[bunker_ifo_departure_bdn]))
Thanks & regards,
Pravin Wattamwar
www.linkedin.com/in/pravin-p-wattamwar
If I resolve your problem Mark it as a solution and give kudos.
bunkertrust
6 years agoFrequent Visitor
Hi Pravin,
This is coming with circular dependency in stead.
The figures are coming in separated columns, so I suppose it is a matter of not calculating if blank?