Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hello everyone,
I have a requirement to create cost simulations. The user will need to select one reference simulation and another simulations (2max in this exemple), and then the tables will be displayed with the simulation.
The Need
The first table will show the information of the reference, including the cost per person, the second table will display the cost of simulation No. 1 and the last Table, datas of the 2nd simulation along with the cost per person.
What i need to do :
I need to add on the Simulation tables the difference from the reference and the actual simulation (Poid & Cost)
Exemple :
Here the Simple Data Model :
Thank you in advance for your help.
Hi @MrBrownn ,
Can you please provide the sample data in each table? I can't test with just the relational view without data, and I can't create my own sample data to test with.
Also I see in your screenshot that Nom and Taille are combined to identify the unique calculation object, which might be a breaking point. You could try combining all your tables together via these two columns (e.g. using Power Query or a calculated table) and then just subtract the columns to accomplish your desired result.
Best Regards,
Dino Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @MrBrownn ,
Sorry for being late! But can you explain why these two lines correspond to a subtraction?
These two rows do not have the same Nom, so Power BI could not find a reason to match these two rows together to make the calculation.
Best Regards,
Dino Tao
Oups, sorry my bad,
The "AAA" can't be compared to "A" only the same lignes can be compared...
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 |
---|---|
14 | |
13 | |
8 | |
8 | |
7 |
User | Count |
---|---|
17 | |
13 | |
7 | |
6 | |
6 |