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'm trying to get the nth value using below dataset. I could get the nth value for the correct category. When I added the sub category. It gives the wrong result for the sub categories. It takes the nth value for the sub categories as well. how to avoid this and get the correct result for the sub categories as well. I have attached my .PBI file and pictures of my dax query and results as well.
(https://1drv.ms/u/s!AtRjTEx4ATvZykgX9eSCVl0xBFXa?e=Fz2ctR )
Any help would be appriciated.
Please check the below screen shot.
Dax Query
Results
Solved! Go to Solution.
User | Count |
---|---|
13 | |
8 | |
7 | |
7 | |
5 |
User | Count |
---|---|
21 | |
15 | |
15 | |
10 | |
7 |