Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi.
I have created a formula that calculates a sum of the last five years sale of a product (quantities).
Now I need to include a filter expression, as I only want to include the transactions that are related to external sales.
The field I want to filter on is Append1[InternalCustomer]. The value I want to keep is '1' (can be 1 or 0).
How do I do this? Where in the formula do I add this expression?
Even before you write a single formula, I'd strongly suggest that you get familiar with time-intelligence in PBI because I can tell you one thing right now: you're not doing it right. The automatic date tables in PBI should never be used if you want to create something useful for others or put it in a production environment. Instead, you should always create a proper Date table. There are just too many reasons to enlarge upon.
Hi. Thanks for the feedback.
I am familiar with time-intelligence.
The formula written was automatically created when I chose 'New quick measure'.
-what is missing is the filter on external sales.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
10 | |
9 | |
8 | |
7 | |
6 |
User | Count |
---|---|
14 | |
13 | |
11 | |
9 | |
8 |