Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
PowerK
Frequent Visitor

x

 
1 REPLY 1
some_bih
Super User
Super User

Hi @PowerK it is NOT Best practice to use DAX function ALLSELECTED in one measure and later use that measure in some other measure. Why, because it is hard to understand results, spot unlogical amounts. The best practice for ALLSELECTED is to use it in visual, not as reference to some measure.

In your example ALLSELECTED is created in 2) and used in 3).

Rewrite your measures.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!






Helpful resources

Announcements
PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.