The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
I have a mileage spreadsheet and in it I am using the following measure to work out how much mileage they have done in each month:
Instead of trying to twist and turn your data to suit your complex calculations, transform the data to make your calculations easy. This is the first part of data modeling art. So, if the granularity of your calendar is 'day', just make sure that your fact table does not store cumulative mileages but mileages per day. Then everything will become very easy. Obviously, if the calendar granularity should be 'month,' store mileages per month.
Thank you - the data is actually from an MS Form where the drivers enter their current mileage - so I need to convert it somehow.
Hi @gingerclaire ,
In order to provide you a suitable solution, could you please provide some sample data in the table "Car report data" (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. Thank you.
How to upload PBI in Community
Best Regards
User | Count |
---|---|
16 | |
8 | |
7 | |
6 | |
5 |
User | Count |
---|---|
25 | |
13 | |
12 | |
8 | |
8 |