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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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 | Type | License |
| 01-01-21 | L | AAA |
| 01-01-21 | L | BBB |
| 02-01-21 | P | CCC |
| 02-01-21 | P | CCC |
Table Visual *Type column are from table2
| Type | Distinct license |
| L | 2 |
| P | 1 |
Solved! Go to Solution.
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
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 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
@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 )
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 39 | |
| 35 | |
| 33 | |
| 32 | |
| 27 |
| User | Count |
|---|---|
| 136 | |
| 96 | |
| 77 | |
| 67 | |
| 65 |