Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi everyone,
I have a small issue with Power BI
I have two database
Claims
| Quarter | Lob | Value |
| Q1 | A | 2500 |
| Q2 | A | 2000 |
| Q3 | A | 1500 |
| Q1 | B | 2400 |
| Q2 | B | 6000 |
| Q3 | B | 5000 |
and Premiums
| Quarter | Lob | Value |
| Q1 | A | 1000 |
| Q2 | A | 4000 |
| Q3 | A | 7000 |
| Q1 | B | 3500 |
| Q2 | B | 2700 |
| Q3 | B | 8000 |
I want to calculate the claim/premium ratio and put it in a table but i also want filter to see the value by quarter, by lob (read category) and quarter x lob.
What Powerbi does it that it calculates the (sum of all claims)/ (sum of premium for each quarter)
| Quarter | Ratio |
| Q1 | 4.31 |
| Q2 | 2.9 |
| Q3 | 1.29 |
| Total | 0.74 |
How can i do to make the filter use the variable from the two database since they are identical.
Solved! Go to Solution.
@hidrag what is your desired output
@hidrag pbix is atatched
Thank you for answering me.
Here is what i want to achieve
| Quarter | Ratio |
| Ratio Q1 | 109% |
| Ratio Q2 | 119% |
| Ratio Q3 | 43% |
| Total | 74% |
| Lob | Ratio |
| Ratio A | 50% |
| Ratio B | 94% |
| Total | 74% |
| LOB A | LOB B | TOTAL | |
| Q1 | 250% | 69% | 109% |
| Q2 | 50% | 222% | 119% |
| Q3 | 21% | 63% | 43% |
| TOTAL | 50% | 94% | 74% |
I also (if possible) would like the solution to be dynamic in the sense that if there was an additionnal variable to add for my filters i would like to be able to do it simply
@hidrag pbix is atatched
@hidrag what is your desired output
Thanks
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 8 | |
| 6 | |
| 6 | |
| 5 | |
| 4 |
| User | Count |
|---|---|
| 25 | |
| 14 | |
| 8 | |
| 8 | |
| 8 |