Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Solved! Go to Solution.
Hi @Anonymous
Check whether your data source has a lot of data, because a large amount of data will also cause slow calculation, and you can refer to the following measure.
Measure =
CALCULATE (
[Days Supply],
FILTER (
ALLSELECTED ( Factpatientdetails ),
[#Reset2] = MAX ( Factpatientdetails[#Reset2] )
&& [PatientId] IN VALUES ( Factpatientdetails[PatientId] )
)
)
Best Regards!
Yolo Zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous
Check whether your data source has a lot of data, because a large amount of data will also cause slow calculation, and you can refer to the following measure.
Measure =
CALCULATE (
[Days Supply],
FILTER (
ALLSELECTED ( Factpatientdetails ),
[#Reset2] = MAX ( Factpatientdetails[#Reset2] )
&& [PatientId] IN VALUES ( Factpatientdetails[PatientId] )
)
)
Best Regards!
Yolo Zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 38 | |
| 38 | |
| 37 | |
| 28 | |
| 28 |
| User | Count |
|---|---|
| 124 | |
| 89 | |
| 73 | |
| 66 | |
| 65 |