The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
Hi Everyone,
I have faced an issue and was wondering if you can please help me with.
Assume I have couple of patients (according to following table) with 2 visits. Also they take medications in different times where they submit a code for each. Now, I need to filter the number of submissions per each patient in different time ranges (e.g between D1 and D2 or between D1 and Today and so on) instead of importing associated dates to those parameters (D1, D2) manually for each patient using the slicer.
Thanks.
Yes, this looks good. Now create your desired visual, and then adjust the measures accordingly.
I don't think your Dates tabe is a proper calendar table without gaps. It also does not appear to be marked as a Dates table. Correct that and then link from Dates to Data as a 1:M relationship with single filter direction.
Thanks for your help, Do you think it`s ok now?
And do you think the questions I had technically possible in Power Bi? Thanks.
Does your data model include Dates/Calendar tables?
Would you mind showing the data model?
This is the model lbendlin. Patients and Data tables are connected through the Patient Numbers. The other two through Date and Submission Date. Thanks.
User | Count |
---|---|
69 | |
64 | |
63 | |
54 | |
28 |
User | Count |
---|---|
112 | |
81 | |
65 | |
48 | |
43 |