The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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.
Solved! Go to Solution.
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.
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.
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...
User | Count |
---|---|
16 | |
8 | |
7 | |
6 | |
6 |
User | Count |
---|---|
26 | |
13 | |
12 | |
8 | |
8 |