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.
Hi,
I want to take the String from a field by countfrom the right but not able to.
I want to do below From Field, Rerquired1 and Required 2 or trhe fields. I have to count from right end of the String to identify the reuired String:-
Field | Required 1 | Required 2 |
abc_22_201909 | 2019 | 9 |
abc_201908 | 2019 | 8 |
aaa_dd_201907 | 2019 | 7 |
Solved! Go to Solution.
@Anonymous , This is how i have done it but i am sure there must be some direct way we can get this done .I mean direct DAX query which can be used instead of usig RIGHT and then LEFT.
Cheers,
RDS
User | Count |
---|---|
27 | |
12 | |
8 | |
8 | |
5 |
User | Count |
---|---|
30 | |
15 | |
12 | |
12 | |
7 |