Forum Discussion

Rom_A's avatar
Rom_A
Frequent Visitor
4 years ago
Solved

sum per time (month) using start and end date from table

 

Hi all,

I am very new to power bi and would appreciate some help. Have a table something like the one below

 

countStartDateEndDate
251/1/20213/31/2022
173/1/202112/31/2021
326/1/20216/1/2022
447/1/202110/31/2022
141/1/202212/31/2022
211/1/20213/31/2022
102/1/202212/31/2022

 

from this I would like to create a graph as shown below where a total sum from all rows that the month is in the range of the start and end date:

 

thanks in advance

Rom

 

 

2 Replies

  • Rom_A's avatar
    Rom_A
    Frequent Visitor

    Greg_Deckler

    Hi

    First I would like to express my appreciation for your very prompt reply. It seems that the Periodic-Billing is in line with what I need.

    I do apologize for taking time to accept your solution, being very new to power BI it is taking me a while to implement. To start, I wasn’t aware the measure is based on a disconnected date table whereas my date table was connected, which produced ‘weird’ results. Which brings me to the question is there a solution where the tables are connected?  

    Subsequently, I found if dates were missing in any rows the measure returned an error. Which brings me to the next question is there a solution where the rows with missing dates are not analyzed by the measure?

    Thank you

    Rom