Forum Discussion
compare two table based on highest week
- 5 years ago
goyalsa , the expected output is not clear. Also you need a common week and country table
measure you can use with common country
M1 =
sumx(values(Country[Country]), lastnonblankvalue(order[Loading week]), Count(Order[order]))
M2=
sumx(values(Country[Country]), lastnonblankvalue(Demandside[week forecating filled in]), Count(Demandside[Demand]))
goyalsa , the expected output is not clear. Also you need a common week and country table
measure you can use with common country
M1 =
sumx(values(Country[Country]), lastnonblankvalue(order[Loading week]), Count(Order[order]))
M2=
sumx(values(Country[Country]), lastnonblankvalue(Demandside[week forecating filled in]), Count(Demandside[Demand]))
- goyalsa5 years ago
Helper III
Hi amitchandak,
I am trying to compare the loading week, the hub from both tables and want the forecasted demand number in the order table.
So, I can figure out demand forecasted v/s order allocated for that week and from the hub.
- Ashish_Mathur5 years ago
Super User
Hi,
Could you please show the expected result.
- goyalsa5 years ago
Helper III
Hi, Ashish_Mathur,
Thank you for your response. It is solved now.
Looking forward to your help in the future.
Safe regards,
Sahil