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 September 15. Request your voucher.
I'm having a table where I'm trying to categrorise all the date before 1/1/2000 as bad and after 1/1/2000 the actual date from each corresponding row.
This is the DAx I wrote:
Solved! Go to Solution.
I think you need to use the CONVERT function a second time, assuming [A] is an integer.
Try: Draft = IF( CONVERT('TableA'[A],STRING)>="153864","bad",CONVERT(TableA'[A], STRING))
@Anonymous Thanks a lot that's the solution
I think you need to use the CONVERT function a second time, assuming [A] is an integer.
Try: Draft = IF( CONVERT('TableA'[A],STRING)>="153864","bad",CONVERT(TableA'[A], STRING))
User | Count |
---|---|
15 | |
12 | |
8 | |
7 | |
7 |
User | Count |
---|---|
24 | |
21 | |
12 | |
10 | |
7 |