Forum Discussion

jananagarajan's avatar
jananagarajan
Regular Visitor
3 years ago
Solved

Help Needed in Writing a Calculation

My requirement is  keeping ID as Fixed  find the value when the Temp is between 0 and 32. I have written a calculation in tableau and would like to wirte the same calculation in  DAX. Kindly help me

 

{ FIXED [CustomerID] : MIN(

IF [Temp] >= 0 AND [Temp] <= 32 THEN [Value]

END

)}

 

Sample data is attached 

 

Customer IDTempValue
T023562
T033356
T063154
T013559
T042663
T052757
T013552
T022765
T033563
T013064
T052755
T012665
T022856
T063052
T043158
T053351
T023060
T012959
T033357
T022753

 

5 Replies