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 Community - We have a need to exclude some of our intra-company revenue from our YTD number. These customer are identified by a CustomerID in the master customer table. My current YTD measure is below, and works perfectly fine.
But how do I get it to exclude these customers? Essentially, I just need to filter them out. Of course I can do this using the filters in the fitlers area, but I need it to be embedded in the measure itself.
Solved! Go to Solution.
Hard to know for sure since you didn't provide any data or a visual of your model, but if I had done the model, I would be able to add another filter to my CALCULATETABLE() that would be:
Customer[CustomerType] <> "InterCompany"
If that doesn't help, please post back with more info.
DAX is for Analysis. Power Query is for Data Modeling
Proud to be a Super User!
MCSA: BI ReportingHi @Anonymous ,
Can you show me part of your data if it is not confidential?
Best Regards,
Kelly
Hard to know for sure since you didn't provide any data or a visual of your model, but if I had done the model, I would be able to add another filter to my CALCULATETABLE() that would be:
Customer[CustomerType] <> "InterCompany"
If that doesn't help, please post back with more info.
DAX is for Analysis. Power Query is for Data Modeling
Proud to be a Super User!
MCSA: BI ReportingThe two answers provided me with an idea on how to solve this so both were helpful!
Thank you!
Great! Glad your project is moving forward.
DAX is for Analysis. Power Query is for Data Modeling
Proud to be a Super User!
MCSA: BI ReportingCovering 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 | |
97 | |
85 | |
70 | |
61 |
User | Count |
---|---|
151 | |
120 | |
103 | |
87 | |
68 |