March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch 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...
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
User | Count |
---|---|
20 | |
12 | |
10 | |
9 | |
7 |
User | Count |
---|---|
40 | |
26 | |
16 | |
16 | |
10 |