March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hi,
In the below table, I have added 'Index' column which is incremented by 1.
Currently I am calculating number of rows using below formula:
Index | emp_Id | Participant_id | measure | Annual Att | Measure_weight |
1 | 11 | 111 | booking | 0.6 | 0.4 |
2 | 12 | 123 | revenue | 0.3 | 0.3 |
3 | 12 | 123 | revenue | 0.3 | 0.3 |
4 | 14 | 153 | booking | 1.2 | 0.8 |
5 | 14 | 32 | Opportunities | 1.4 | 0.7 |
6 | 15 | 44 | booking | 1.2 | 0.5 |
7 | 15 | 44 | booking | 1.2 | 0.5 |
Hi @patilpoonam21 ,
Not quite sure what you need, I'm presuming you need to return the value of index.
Your measure(It gives the count):
You can try below:
Please feel free to correct me and provide more information if I have misunderstood you!
Hope it helps!
Best regards,
Community Support Team_ Scott Chang
If this post helps then please consider Accept it as the solution to help the other members find it more quickly.
what do you mean ignore the last column?
what's the expected output based on the sample data you provided?
Proud to be a Super User!
The expected output should be based on below table:
Count of index whose Annual Att>1. Is there any wany to calculate that in the DAX without creating summarized table?
Currently, I have created below summarized table and created relationship between the above main table and below summarized table based on emp_id, participant_id and measure column.
Thank you!
Index | emp_Id | Participant_id | measure | Annual Att |
1 | 11 | 111 | booking | 0.6 |
2 | 12 | 123 | revenue | 0.6 |
3 | 14 | 153 | booking | 1.2 |
4 | 14 | 32 | opportunities | 1.4 |
5 | 15 | 44 | booking | 2.4 |
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
124 | |
87 | |
85 | |
70 | |
51 |
User | Count |
---|---|
205 | |
153 | |
97 | |
79 | |
69 |