Forum Discussion
alfredorhz
Helper I
4 years agoHelp with a calculate column from 3 columns
Hi Power Bi, Community, I hope everyone doing well
I need some help to create a calculate column or measure with this data, Could you please help me?
Thanks
alfredorhz , for this have column month number
Switch(true() ,
[Month no] <=3, [1 three],
[Month no] <=7, [2 Four],
[3 Five])
or
Switch(true() ,
[Month] in {"Jan", "Feb", "Mar"}, [1 three],
[Month] in {"Apr", "may", "Jun", "Jul"}, [2 Four],
[3 Five])
2 Replies
- amitchandak
Super User
alfredorhz , for this have column month number
Switch(true() ,
[Month no] <=3, [1 three],
[Month no] <=7, [2 Four],
[3 Five])
or
Switch(true() ,
[Month] in {"Jan", "Feb", "Mar"}, [1 three],
[Month] in {"Apr", "may", "Jun", "Jul"}, [2 Four],
[3 Five])
- alfredorhz
Helper I
Hi! amitchandak
Perfect!!!
Thank you very much