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.
hello, I am very new to power bi and in dax language, I wanted to make a query with an example, the column "cto level of line" is a simple sum of a certain field, what formula can I occupy so that the result reaches only the column site?, in the example to the store there are values in negative and in postive, I would like that in each warehouse I brought the total of the site and for everyone showed the value 0 that is the result if we only saw up to the site.
Solved! Go to Solution.
Hi @Syndicate_Admin ,
You could try ISINSCOPE() or ISFILTERED() function.
https://docs.microsoft.com/en-us/dax/isinscope-function-dax
https://docs.microsoft.com/en-us/dax/isfiltered-function-dax
Then create a measure like below to return different value depend on the ISINSCOPE() result.
IF(ISINSCOPE([column]),[sum],0)
Best Regards,
Jay
Hi @Syndicate_Admin ,
You could try ISINSCOPE() or ISFILTERED() function.
https://docs.microsoft.com/en-us/dax/isinscope-function-dax
https://docs.microsoft.com/en-us/dax/isfiltered-function-dax
Then create a measure like below to return different value depend on the ISINSCOPE() result.
IF(ISINSCOPE([column]),[sum],0)
Best Regards,
Jay
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 |
---|---|
114 | |
100 | |
81 | |
70 | |
62 |
User | Count |
---|---|
148 | |
116 | |
104 | |
90 | |
65 |