Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi,
I have two tables.
>Table1
Product | Value |
AB 123 | 12 |
AB 111 | 23 |
AC 199 | 34 |
AC 200 | 45 |
AD 999 | 56 |
> Table2
Prod | Some Value |
AB 999 | 100 |
AC 321 | 200 |
AD 893 | 300 |
AD 223 | 400 |
I created a new column "Type" for Table1 as Type = if(LEFT(Table1[Product],2)="AB","Type1",if(LEFT(Table1[Product],2)="AC","Type2",if(left(Table1[Product],2)="AD","Type3","None")))However, the slicer i created using this new column "Type" doesnt filter visuals created using Table2. I tried to define a relationship between the two tables. However, i couldn't do that because the entries in "Product" in Table1 need not necessarily be entries in "Prod" in Table2. The key point here is that all products having the same first two letters are of the same type and i want to filter by this type. Does anyone know how this can be done in Powerbi?
Thanks in advance!
Solved! Go to Solution.
Then you can merge the tables and keep both columns. Following a way that might work in your case.
Hope this helps!
JJ
Would it be an option to merge the tables?
The problem is that the values in both the tables are not related, for example the "Value" column in the first table could be Date and the "Some Value" in the second table could be a decimal.
Then you can merge the tables and keep both columns. Following a way that might work in your case.
Hope this helps!
JJ
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
107 | |
100 | |
78 | |
64 | |
58 |
User | Count |
---|---|
148 | |
113 | |
97 | |
84 | |
67 |