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! It's time to submit your entry. Live now!
Hi all,
I have this kind of dataset:
Table 1:
Name | Number
A | 1
B | 2
C | 3
D | 4
table 2:
Name | Number
Aa | 1.1
Ab | 1.2
Bb | 2.1
Bc | 2.2
Cc | 3.1
Cd | 3.2
Dd | 4.1
De | 4.2
I want to create a measure that return this kind of structure in my matrix:
Name | Number
A | 1
Aa | 1.1
Ab | 1.2
B | 2
Bb | 2.1
Bc | 2.2
And so on. Can anyone help me please?
Thanks!
Solved! Go to Solution.
Thanks for your reply, I figured out how to solve the problem with a "IF(ISINSCOPE....)) measure
Hi @Filippomonti ,
I figured out how to solve the problem with a "IF(ISINSCOPE....)) measure
Glad to know your issue has been solved by yourself and thanks for your feedback😀
Please Accept your reply as the solution to make the thread closed. More people will benefit from it.
Best Regards,
Eyelyn Qin
Hi Eyelyn,
I'm really sorry, i didn't know I had to do that. Hope this is all good now.
Thanks for your help!
Best regards
Filippo
Table 1:
MACROName | MACRONumber
A | 1
B | 2
C | 3
D | 4
table 2:
MICROName | MICRONumber
Aa | 1.1
Ab | 1.2
Bb | 2.1
Bc | 2.2
Cc | 3.1
Cd | 3.2
Dd | 4.1
De | 4.2
I want to create a measure that return this kind of structure in my matrix:
Name | Number (MACRO THEN MICRO)
A | 1
Aa | 1.1
Ab | 1.2
B | 2
Bb | 2.1
Bc | 2.2
I try to explain better with ore informations
Hi Ryan,
thanks for the reply.
The problem is that i want to keep the 2 tables divided because there are other datas that i didn't include in the previous example (that was a semplified version).
That said, I'm trying to create a measure that helps me visualize the numbers so I can create an index like measure to sort the matrix.
Hope this helps a little bit.
do you mean there is no relationship between two tables?
I didn't combine the tables. I just created a new column in table 2.
Could you pls provide more sample data so that I can provide better solution for you?
Proud to be a Super User!
Thanks for your reply, I figured out how to solve the problem with a "IF(ISINSCOPE....)) measure
based on your sample data, maybe I will use LEFT function to create a new Name column and create relationship between Name column in table A and New name column in table B.
Proud to be a Super User!
The Power BI Data Visualization World Championships is back! It's time to submit your entry.
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 56 | |
| 42 | |
| 40 | |
| 21 | |
| 21 |
| User | Count |
|---|---|
| 149 | |
| 105 | |
| 63 | |
| 36 | |
| 36 |