Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
Hello ,
sharing 2 columns of my data table , I am showing applicationwise duplication of "Service Column" , but to show on cards i want to show distinct values as in Disctict application = 4 , distinct service name = 18
Distinct Service Count =
Hi,
Hope this helps.
I have used DISTINCTCOUNT Function which counts the number of distinct values in column.
Hi, @prajaktakeni11
Based on your description, I have created many measures to achieve the effect you are looking for. Following picture shows the effect of the display.
Measure:
Distinct application =
CALCULATE (
DISTINCTCOUNT ( 'Analysis Report'[ApplicationName] ),
ALL ( 'Analysis Report'[ApplicationName] ),
ALL ( 'Analysis Report'[Services] )
)
Distinct Service =
CALCULATE (
DISTINCTCOUNT ( 'Analysis Report'[Services] ),
ALL ( 'Analysis Report'[ApplicationName] ),
ALL ( 'Analysis Report'[Services] )
)
If this does not work, could you please share some sample data without sensitive information and expected output.
How to provide sample data in the Power BI Forum - Microsoft Fabric Community
Best Regards,
Yang
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data in the Power BI Forum
Hello @v-yaningy-msft
Thank you for your reply , But this is not working in my case it is giving me Total of All the application however I want to show ...... Applicationwise Duplicated Services (in tables) and Distinct Applicatoon and Distinct Services (in cards)
Hi, @prajaktakeni11
Failing to understand what you are trying to achieve in the table for the moment, you can use excel to describe the results you expect to get. I have got Distinct Applicatoon and Distinct Services in my card, do you mean it doesn't work in your pbix file because not sure what other data you have in your power bi, can you share the pbix file without no sensitive data, the data table, and the logic to achieve your desired effect Description.
Best Regards,
Yang
Community Support Team
User | Count |
---|---|
21 | |
19 | |
12 | |
9 | |
7 |
User | Count |
---|---|
30 | |
27 | |
14 | |
13 | |
11 |