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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
voodoo23
Frequent Visitor

cumulative count by dates actual vs Planned

Hello,



I'm new to the world of Power Bi and was hoping I could get some guidance on how to calculate the number of scheduled and actual dates by month so that I can build a pivot table where:
lines - company number
columns - days of the month.

I previously found the answer in this post:
https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-Count-by-Date-Actual-vs-Planned/m-p/1544172#M30476

But I couldn’t figure out how to connect 2 columns of one table with a table with dates and use the relationship function.

Any help you can provide is greatly appreciated.
1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @voodoo23 

Thanks for your concern about this case. @lbendlin
 

@voodoo23 For your confusion about how to use the userelationship function, hope the following document will help you.

Using USERELATIONSHIP in DAX - SQLBI

USERELATIONSHIP in calculated columns - SQLBI

 

 

 

Best Regards,

Jayleny

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @voodoo23 

Thanks for your concern about this case. @lbendlin
 

@voodoo23 For your confusion about how to use the userelationship function, hope the following document will help you.

Using USERELATIONSHIP in DAX - SQLBI

USERELATIONSHIP in calculated columns - SQLBI

 

 

 

Best Regards,

Jayleny

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

lbendlin
Super User
Super User

Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).

Do not include sensitive information or anything not related to the issue or question.

If you are unsure how to upload data please refer to https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-...

Please show the expected outcome based on the sample data you provided.

Want faster answers? https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447...

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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