Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi,
Have two colums from a worksheet that contains several other colums, Value and Status. Values contains the sales numbers and Status contains Yes and No.
Trying to do a measure to show the filter Values of Yes and the filter Values of No
ValuesYes = Calculate( SUM ( 'Worksheet' [Value] ) ; Filter ( 'Worksheet' ; 'Worksheet' [Status] = Yes))
Gives an error, saying that failed to resolve name 'Yes'.
What I´m a missing?
Thanks for the help,
Solved! Go to Solution.
Try
ValuesYes = Calculate( SUM ( 'Worksheet' [Value] ) ; Filter ( 'Worksheet' ; 'Worksheet' [Status] = "Yes"))
Appreciate your Kudos. In case, this is the solution you are looking for, mark it as the Solution. In case it does not help, please provide additional information and mark me with @
Thanks. My Recent Blog -
Winner-Topper-on-Map-How-to-Color-States-on-a-Map-with-Winners , HR-Analytics-Active-Employee-Hire-and-Termination-trend
Power-BI-Working-with-Non-Standard-Time-Periods And Comparing-Data-Across-Date-Ranges
Connect on Linkedin
Try
ValuesYes = Calculate( SUM ( 'Worksheet' [Value] ) ; Filter ( 'Worksheet' ; 'Worksheet' [Status] = "Yes"))
Appreciate your Kudos. In case, this is the solution you are looking for, mark it as the Solution. In case it does not help, please provide additional information and mark me with @
Thanks. My Recent Blog -
Winner-Topper-on-Map-How-to-Color-States-on-a-Map-with-Winners , HR-Analytics-Active-Employee-Hire-and-Termination-trend
Power-BI-Working-with-Non-Standard-Time-Periods And Comparing-Data-Across-Date-Ranges
Connect on Linkedin
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
117 | |
104 | |
77 | |
73 | |
50 |
User | Count |
---|---|
145 | |
109 | |
108 | |
90 | |
64 |