Forum Discussion
DAX Calculate is calculating wrong lines
Hi Pravin,
So you mean:
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.
- bunkertrust6 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?
- Anonymous6 years agoNot applicable
share some sample dataset and expected output so that it will be easy for me to answer your quetion.
Thanks,
Pravin
- bunkertrust6 years agoFrequent Visitor
Which format do you prefer?
- bunkertrust6 years agoFrequent Visitor
Anonymous
Can you use this ?
Column A to H are the calculations : https://docs.google.com/spreadsheets/d/1igSUU-_7fRzllGukzsVVJ4kOg8elB3b_q0Y-Z54hH4Q/edit?usp=sharing