The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
i want to convert a numeric column containing difference between 2 dates like (0,1,2,3..... so on) into 3 groups --> same_day, d+1 and >1 day
How to convert the numeric column and categorize them into 3 groups?
days between (difference b/w 2 dates)| ---> | 3 categories
0 same day
1 D+1 day
2 >1 day
3 >1 day
....
6 >1 day
Solved! Go to Solution.
hi @Bu__
try like:
hi @Bu__
try like:
User | Count |
---|---|
27 | |
12 | |
8 | |
8 | |
5 |
User | Count |
---|---|
31 | |
15 | |
12 | |
11 | |
7 |