Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
Requesting help pulling data from two different tables.
Table 1 (MERGE_BillingSUMMARY) holds CPT codes.
Table 2 (MERGE_Observations) holds ICD9 codes.
I created the following 4 columns (2 in each table) and now need a 5th column or a measure that shows which patients are compliant and not compliant. To be compliant, a patient has to have been given a blood test (indicated by a cpt code) AND have been given a mental health test (indicated by ICD codes).
In MERGE_BillingSUMMARY I created...
Solved! Go to Solution.
Hi Eyelyn, the shortened DAX did help but I ended up merging the two tables into a new table to resolve my issue with pulling data from two tables. Thanks for responding.
Hi @anwilkins ,
If there is a relationship between MERGE_BillingSUMMARY table and MERGE_Observations table? Actually we need more details about your tables to help us clarify your scenario. You could create a dummy sample for us to test or
share your pbix file after removing sensitive data.
Refer to:
How to Get Your Question Answered Quickly - Microsoft Power BI Community
How to provide sample data in the Power BI Forum - Microsoft Power BI Community
In addition, Your [Compliant Patient] may be simplified:
Compliant Patient =
IF(MERGE_BillingSUMMARY[*Blood Test Met]=1 && MERGE_Observations[*MH Met]=1, "Compliant","Not Compliant")
Best Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi Eyelyn, the shortened DAX did help but I ended up merging the two tables into a new table to resolve my issue with pulling data from two tables. Thanks for responding.
User | Count |
---|---|
91 | |
84 | |
65 | |
62 | |
58 |
User | Count |
---|---|
148 | |
112 | |
95 | |
81 | |
71 |