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 have two columns named serial number and percent, i want to create two columns, where one column will contains percent of DS01 and other column will contain percent of DS02,
Need to do it in dax, because it is Direct query cant use Power query.
Thanks
Solved! Go to Solution.
In dAX new column
DS1= if([Serial Number] ='DS1', [Percent], blank())
DS2= if([Serial Number] ='DS2', [Percent], blank())
Direct query only support simple column
In dAX new column
DS1= if([Serial Number] ='DS1', [Percent], blank())
DS2= if([Serial Number] ='DS2', [Percent], blank())
Direct query only support simple column
User | Count |
---|---|
27 | |
12 | |
8 | |
8 | |
5 |
User | Count |
---|---|
31 | |
15 | |
12 | |
7 | |
7 |