Forum Discussion

arthiannadi06's avatar
arthiannadi06
Regular Visitor
24 days ago
Solved

Dynamic date relationship & Measures for data modelling for a use case

Power BI Data Model Question – Allocating Utility Charges by Service Date I need advice on the best data model for allocating utility charges across calendar months. My utility table has one row pe...
  • danextian's avatar
    23 days ago

    Hi arthiannadi06 

    I would distribute the bill's amount across its service dates. 

     

    You can split a  single row into multiple rows using Power Query but I'd do this with a small dataset as this can be very slow with a large one.

     

    Alternatively, you can use DAX measures and a disconnected dates table to spread the amount calculate its value for a specific period.

    Please see the attached pbix.