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

A new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.

Reply
Anonymous
Not applicable

Display value from value from another table

Dear friends

how can i display value from another table to visual like this , i need to display distinct value to visual that row header from other table

Table 1

Date  TypeLicense
01-01-21LAAA
01-01-21LBBB
02-01-21PCCC
02-01-21PCCC

 

Table Visual *Type column are from table2

TypeDistinct license
L2
P1
1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous ,

 

Solution1: create a relationship between table1 and table2.

Solution2: create a measure as below.

Measure = CALCULATE(DISTINCTCOUNT('Table'[License]),FILTER('Table','Table'[Type]=SELECTEDVALUE('Table (2)'[Type])))

 

Best Regards,

Jay

View solution in original post

5 REPLIES 5
Anonymous
Not applicable

Hi @Anonymous ,

 

Solution1: create a relationship between table1 and table2.

Solution2: create a measure as below.

Measure = CALCULATE(DISTINCTCOUNT('Table'[License]),FILTER('Table','Table'[Type]=SELECTEDVALUE('Table (2)'[Type])))

 

Best Regards,

Jay

amitchandak
Super User
Super User

@Anonymous , what is the relation between table 1 and table 2. what is the data of table 2

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
Anonymous
Not applicable

@amitchandak for table 2 are transaction like table 1 ,i create some reference for relate by merge date and type for each table

@Anonymous , if you have a common type table then the measure 

distinctcount(Table1[License]) should help 

 

if you do not have one refer https://www.youtube.com/watch?v=Bkf35Roman8

 

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
Anonymous
Not applicable

@amitchandak i tried but it show all distinct value that not divide by type (ex. boths type L and P display distinct license as 3 )

Helpful resources

Announcements
May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.