Forum Discussion
Ignore filter for a measure
- Anonymous3 years ago
Hi Anonymous many thanks for your reply and apologies for the delay in replying.. I got on with other tasks while this was on hold.
The measure you provided did not work either. However, we finally did it by creating a new table with one column for the distinct regions and having it as a reference for the metric.
Many thanks for your help!
Hi Anonymous ,
Please update the format of measure as below and check if it can return your expected result...
Sales by Region (selected client) =
CALCULATE (
SUM ( 'Sales'[Sales CY] ),
FILTER (
VALUES ( 'Clients'[Region] ),
[Sales CY] <> BLANK ()
&& [Sales CY] > 0
),
REMOVEFILTERS ( 'Clients'[Name] )
)
If the above one can't help you, please provide some raw data in your tables 'Clients' and 'Sales' (exclude sensitive data) with Text format and your expected result with backend logic and special examples? By the way, is there any relationship between these two tables? If yes, please provide the related info. It would be helpful to find out the solution. You can refer the following links to share the required info:
How to provide sample data in the Power BI Forum
How to Get Your Question Answered Quickly
And It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.
How to upload PBI in Community
Best Regards