Forum Discussion
How to Compare 2 Spread Sheets
1 Reply
- v-jingzhang
Community Support
Hi Gasdetect40
According to your description, the current data is not sufficient to complete the requirement. You can mock up some dummy data in Excel to show the existing data in list #1 and list #2 and paste them in the post. This can reduce our time to reproduce the sample data.
If I understand it correctly, list #1 only has the asset types and asset quantities every company needs on a date. It only contains reservations on a date, right?
In list #2, I guess every device has a unique id (is it Electronic ID or Serial No.?). But we also need a column to tell which asset type it is. At present you only have Description in the table. We don't know which one is a monitor and which one is a pump. It is suggested to prepare a table AssetList in advance. AssetList should have a list of all assets that can be rented and their asset type, asset id, asset name, .etc.
Then we need to build relationships between tables in the model. For example,
- AssetList (one-side) --> List #2 (many side), single filter on Asset ID column;
- List #1 (one-side) --> List #2 (many side), single filter on Company ID (or Company Name if it is unique) column;
Then we can create calculations from both tables and compare the difference.
So please first prepare some dummy data that can reply above questions and paste them in your post. Please remove sensitive data before sharing. How to provide sample data in the Power BI Forum - Microsoft Power BI Community
Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.