Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register 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
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
15 | |
11 | |
11 | |
10 | |
10 |
User | Count |
---|---|
19 | |
14 | |
13 | |
11 | |
8 |