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!
I have two tables
Requirement is when i select Egypt and Year: 2023 and STD : STD23
It should show 100
Requirement is when i select Egypt and Year: 2023 and STD : STD24
It should show 200
Requirement is when i select Egypt and India and Year: 2023 and STD : STD24
It should show 100*2 + 50*3 = 350
Solved! Go to Solution.
Step 0: I use your DATA below. (Date:yyyy/mm/dd)
'Table1'
'Table2'
Step 1: I make a 'CountryTable'.
Step 2: I add 2 relationships below.
Step 3: I make 3 measures below.
M_CR = MAXX(FILTER('Table1','Table1'[STD]=SELECTEDVALUE(Table1[STD])),'Table1'[CR])
M_Sales = MAXX(FILTER('Table2','Table2'[Year]=SELECTEDVALUE('Table2'[Year])),'Table2'[Sales])
Step 4: I make 3 slicers, 2 tables and a card visual.
Step 0: I use your DATA below. (Date:yyyy/mm/dd)
'Table1'
'Table2'
Step 1: I make a 'CountryTable'.
Step 2: I add 2 relationships below.
Step 3: I make 3 measures below.
M_CR = MAXX(FILTER('Table1','Table1'[STD]=SELECTEDVALUE(Table1[STD])),'Table1'[CR])
M_Sales = MAXX(FILTER('Table2','Table2'[Year]=SELECTEDVALUE('Table2'[Year])),'Table2'[Sales])
Step 4: I make 3 slicers, 2 tables and a card visual.
Thanks a lot Mickey for the same , it works
Hi @arvindjha2050 ,
if your tables does not have relations and the slicers are from the first table. then, you can write a measure as follows:
measure ConversionRate :=
var cr= selectedvalues( table1[CR])
return
sumx(calculate(max(sales),filter(table2, table2 [country] = selectedvalue ( table1[country]) && table2 [year] = selectedvalue (table1[yaer])) * CR )
If this post helps, then I would appreciate a thumbs up and mark it as the solution to help the other members find it more quickly.
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 |
|---|---|
| 60 | |
| 41 | |
| 30 | |
| 26 | |
| 23 |
| User | Count |
|---|---|
| 129 | |
| 111 | |
| 56 | |
| 39 | |
| 35 |