Forum Discussion
EmilyM2019
Helper II
6 years agoDax help
Hello, I need help with a simple calculation. In my data source I have 2 date count columns, one is working days and one is calendar days. I then have a field with a customer. I want a new c...
- 6 years ago
Add a column
ColumnAdded = SWITCH(TableX[Customer], "A", TableX[Working days count], "B", TableX[Calendar days count], 0)
HotChilli
Community Champion
6 years agoAdd a column
ColumnAdded = SWITCH(TableX[Customer], "A", TableX[Working days count],
"B", TableX[Calendar days count],
0)EmilyM2019
Helper II
6 years agoThanks for the help. This worked perfectly.