Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hello community,
I am very new to PowerBI. I am trying to display the unique record for the Address field that has more than 1 ID for the Card Visualization (or any big number display) on PowerBI. Here is the sample of data. Eventually, I would like the card visualization display "2". How would I do it? I have tried the table/matrix visualization and it gave me the number that I wanted, because I was able to set the filter by creating a new Measure by filtering out the count=1 scenario. When I copy and paste the visual to Card Visulization, it didn't get me the right number, and I couldn't add the Measure into the filter as it is disabled. I also tried to create a column to sum the count of ID based on the address, but because I also use a year field in the table as a slicer so the sum shouldn't stay the static if using the year slicer. Could anyone give me some idea what I could try?
Address | ID |
A | 12300 |
A | 12301 |
B | 12302 |
B | 12303 |
C | 12304 |
D | 12305 |
Solved! Go to Solution.
You can use a measure like this for your card visual. Replace Table with your actual table name.
Companies with Multiple IDs =
COUNTROWS (
FILTER (
VALUES ( Table[Company] ),
CALCULATE (
DISTINCTCOUNT ( Table[ID] )
) > 1
)
)
Regards,
Pat
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
@mahoneypat : I am in a similar situation.
I have a new table "SourceTable" having 2 values "Ext" and "Int". I have created a slicer with this table.
Now I have used a card visual and it is displaying values from already created 2 measures.
After this, I have created a new measure as :
You can use a measure like this for your card visual. Replace Table with your actual table name.
Companies with Multiple IDs =
COUNTROWS (
FILTER (
VALUES ( Table[Company] ),
CALCULATE (
DISTINCTCOUNT ( Table[ID] )
) > 1
)
)
Regards,
Pat
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.