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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
DSCintra
New Member

Complete blank dates based on duration column

Good afternoon!

 

I'm trying to make a calendar with some services and values in PowerBI.

In the excel sheet, i have 2 columns: start and end of the service and total value, like image below:

DSCintra_0-1684960270490.png

My ideia is to import this sheet into Power Query and turn it into a calendar like image below:

DSCintra_1-1684960465969.png

Is there anyway to do it? Fill a calendar table with the interval of service and divide the total value by the duration of service?

Thanks!

1 ACCEPTED SOLUTION
ryan_mayu
Super User
Super User

@DSCintra 

maybe you can try use DAX to do it

1.PNG

pls see the attachment below





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

3 REPLIES 3
ryan_mayu
Super User
Super User

@DSCintra 

maybe you can try use DAX to do it

1.PNG

pls see the attachment below





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




That was exactly what I need!
Thank you!

you are welcome





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Helpful resources

Announcements
July 2024 Power BI Update

Power BI Monthly Update - July 2024

Check out the July 2024 Power BI update to learn about new features.

July Newsletter

Fabric Community Update - July 2024

Find out what's new and trending in the Fabric Community.