Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreShape the future of the Fabric Community! Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions. Take survey.
Hi, I am trying to create a score card to count of how many machines hit the target of 85%
The table on the right shows the Score % each machine has got, this is made up of runtime/downtime over several days. When i try to count the machines that have hit or above target (shown in the left table it shows two results for each machine a 0 and 1).
Can anyone help with this count?
Thanks in advance
Solved! Go to Solution.
Hi @BrianMullen ,
We can create a new measure [New At Target] to be placed on the visual object instead of the previous measure [At Target].
New At Target = SUMX(VALUES('Table'[Machine]),[At Target])
If the above one can't help you get the desired result, please provide some sample data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. Thank you.
Best Regards,
Neeko Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi All,
Sorry for late reply i could not get the count to work in a card however i created a table and formatted to look like a score card
Hi All,
Sorry for late reply i could not get the count to work in a card however i created a table and formatted to look like a score card
Hi @BrianMullen ,
Could you tell me if your problem has been solved? If it is, kindly Accept it as the solution. More people will benefit from it. Or if you are still confused about it, please feel free to let me know.
Best Regards,
Neeko Tang
Hi @BrianMullen ,
We can create a new measure [New At Target] to be placed on the visual object instead of the previous measure [At Target].
New At Target = SUMX(VALUES('Table'[Machine]),[At Target])
If the above one can't help you get the desired result, please provide some sample data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. Thank you.
Best Regards,
Neeko Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Did you try to set a filter on the visual on field "At Target" = 1.
Proud to be a Super User!
Hi, yes i tried that. There are 68 machines and each has a 1 and a 0 so shows a score of 68 when only 24 have met the target
Hi,
Here is one way to do this:
Data:
Dax:
I hope this post helps to solve your issue and if it does consider accepting it as a solution and giving the post a thumbs up!
Proud to be a Super User!
Thanks for the suggestion but it has not produced the count, it shows 163672
User | Count |
---|---|
25 | |
21 | |
20 | |
13 | |
13 |
User | Count |
---|---|
40 | |
28 | |
28 | |
22 | |
21 |