Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
AlexWoodman
Regular Visitor

Creating Index Costing

Hi.

 

Im trying to create a cost per distance Index that will be grouped due to the month its in.

 

Data in one table like below but just a small mocked up version

AlexWoodman_1-1640086526355.png

 

 

 

End Point ideally looking like this

AlexWoodman_2-1640086652654.png

 

 

 

1 ACCEPTED SOLUTION
harshnathani
Community Champion
Community Champion

Hi Alex,

 

You will need to create a Date Table and link it to the main table.

 

Create the measures for Total Distance, Total Cost and Total Distance/Cost and display it on a matrix viz.

 

Attached is .pbix file.

 

Regards,

Harsh Nathani

View solution in original post

3 REPLIES 3
v-jingzhang
Community Support
Community Support

Hi @AlexWoodman 

 

Sorry I don't understand the expected result. Can you explain how to get it based on the mock data more clearly?

 

Best Regards,
Community Support Team _ Jing

harshnathani
Community Champion
Community Champion

Hi Alex,

 

You will need to create a Date Table and link it to the main table.

 

Create the measures for Total Distance, Total Cost and Total Distance/Cost and display it on a matrix viz.

 

Attached is .pbix file.

 

Regards,

Harsh Nathani

Anonymous
Not applicable

How to calculate the cost for a server.We can assume any value and suggest how it will happen.Thanks

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.