Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

count of specifc value without making relationship

hi everyone!!
can we count number of specific value without making relationship for each row to show in table.

Say i get two list of names from two different tables using values function and for every name present in list one we get the number of accurance of the same name in list two.

say i have list from table 1 with name ( john, Doe, michle)

and another list with name (john, doe ,michle, john, john, doe)

so if i use names of list one to use in slicer to filter and when i click john than  i should get 3 for john similarly 2 for doe selected 

and these all values should be in a table.
Due to my schema restriction i cannot make relationship between these two tables.  

Kindly help me

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Anonymous , Not very clear, you can create a separate name table and join it both columns, one will active another one will be inactive and you can use userealtionship to activate join

 

refer: https://radacad.com/userelationship-or-role-playing-dimension-dealing-with-inactive-relationships-in-power-bi

https://youtu.be/e6Y-l_JtCq4

 

Or you can keep that as in independent Table and filter in measure

like

calculate(countrows(Table), filter(Table, Table[Name] in values(Name[Name])))

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

1 REPLY 1
amitchandak
Super User
Super User

@Anonymous , Not very clear, you can create a separate name table and join it both columns, one will active another one will be inactive and you can use userealtionship to activate join

 

refer: https://radacad.com/userelationship-or-role-playing-dimension-dealing-with-inactive-relationships-in-power-bi

https://youtu.be/e6Y-l_JtCq4

 

Or you can keep that as in independent Table and filter in measure

like

calculate(countrows(Table), filter(Table, Table[Name] in values(Name[Name])))

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors