Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
Hello,
I have 2 tables : DimDate and ServiceProviders.
DimDate is the date table and CalendarDate field is the date.
ServiceProviders table stores the enrolled providers and stores among other things, ProviderID, Name and Enrolled Date.
In the model, CalendarDate has a 1 to Many relationship to EnrolledDate.
Now in PowerBI report, I have a date filter and a Table.
The table shows ProvideID, ProviderName and other attributes from the ServiceProviders table.
Now the requirement for PowerBI report is , when i select a date range filter, I want to show all the providers whose enrolleddate falls in the date range or earlier. Basically, we want to show all the Providers who were active in the selected date. For e.g. i might select the month of February in the date range, then the table should show all the Providers enrolled on or before the last date of Feb. Remember, PRoviders were enrolled in Jan as well who are active currently,
I understand the one-to -many relationship in the model is a equal one. i.e where EnrolledDate=CalendarDateDate
What i really need here is the relationship to be lessthan or equal to. i.e. EnrolledDate<=CalendarDate.
Please how to achieve this in PowerBI, (Model configuration, measures etc??
Thanks
Solved! Go to Solution.
Hi @msprog ,
You can refer to this post, which will help you solve the problem.
Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @msprog ,
You can refer to this post, which will help you solve the problem.
Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
94 | |
83 | |
82 | |
71 | |
49 |
User | Count |
---|---|
143 | |
129 | |
108 | |
63 | |
55 |