Forum Discussion
Kesavaraman
3 years agoFrequent Visitor
Excel formula to DAX
Hi Demand-ID Demand Supply OS Flag Unfulfilled Total Supply Supply Zero/Non-Zero Total Unfulfilled Unfulfilled Zero/Non-Zero 1 4 2 N 2 4 Non-Zero 0 Zero 2 10 7 N...
Ahmedx
Super User
3 years agoShare some data to work with (in a format the can be pasted in an MS Excel file) and show the expected result.
- Kesavaraman3 years agoFrequent Visitor
Hi
Row no. Demand-ID Demand Supply OS Flag Unfulfilled Total Supply Supply Zero/Non-Zero Total Unfulfilled Unfulfilled Zero/Non-Zero 12 00027_MS-106365_202230 0.05 0.05 N 0 2.05 Non-Zero -2 Non-Zero 13 00027_MS-106365_288764 0.1 0 N 0.1 2 Non-Zero -1.9 Non-Zero 14 00014_MS-106365_305428 4 2 N 2 2 Non-Zero 2 Non-Zero 15 00027_MS-106365_202230 2 Y -2 DNC DNC DNC DNC 16 00027_MS-106365_288764 2 Y -2 DNC DNC DNC DNC 17 00014_MS-106365_305428 0 Y 0 DNC DNC DNC DNC Here the formula used for total supply is =IF(F12="N", E12+XLOOKUP(B12,$B$12:$B$17,$E$12:$E$17,"NA",0,-1),"DNC")
and I need to import this total supply column in powerbi so I need a suitable dax