I'm currently working on creating a report page that will show the realization of customers declaration about turnover.
If they carry out a promise, they will get a proper discount.
|Customer||Start Date||End Date||Declared Turnover for period||Actual Turnover for period *||Realization (%)|
|A||01.01.2020||31.12.2020||500 000||100 000||?|
|B||01.01.2020||31.12.2020||300 000||200 000||?|
|C||01.01.2020||31.12.2020||400 000||500 000||?|
*Actual Turnover are calculating correctly from the FACT table
The above table was created manually in Excel (only actual turnover was added in Power BI).
My problem is that I don't know how to connect Start & End Date to Date Table, that if I put a slicer on my report page and filter for example Q1 2020, the Declared Turnover will be adequately divided (in this case divided by 4).
Solved! Go to Solution.
?? Check out my March Madness Report??
Has this post solved your problem? Please mark it as a solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos. ?
I work as a trainer and consultant for Microsoft 365, specialising in Power BI and Power Query.
Another problem is that both dates (Start & End) must be inactive relationships.
What else do you need for helping me?
@pawelj795 , see my update above helps.
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.
Thanks for your solutions, but they are quite different than my case.
Below my sample data.
As you can see on my file, when I filter data on my page, the declared turnover don't change, and I want to divide it according to days spent. (for example, if I choose Q2, it should be shown only declared turnover * 180/360)
@pawelj795 , You can join both of them, with date table (one active and one inactive join) and use the join as per need
Another way - Allocate target and work -https://www.dropbox.com/s/fnq82ksdzk1lqs3/Target_allocation_daily.pbix?dl=0
Do not allocate and work -https://youtu.be/yPQ9UV37LOU
Check out new user group experience and if you are a leader please create your group
Click here to read more about the April 2021 Updates!
100+ sessions, 100+ speakers, Product managers, MVPs, and experts. All about Power BI. Attend online or watch the recordings.
See the latest Power BI innovations, updates, and demos from the Microsoft Business Applications Launch Event.