Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
I've been working on a report and i've run into a problem my filters dont seem to be affecting the totals on the visual.
I have 2 filters (DealStage with 11 variable and pipeline with 3 variables) I also have a date filter all of which are within the same table as the value (amount_in_home_currency) which my measure uses.
My actual measures are as follows
unfiltered
filter example a
filter example b
Solved! Go to Solution.
hi, @DSArkphire
Just use FILTER in your formula as below:
New Forcast inv = CALCULATE( SUM('Merge2'[amount_in_home_currency]), FILTER(Merge2, 'Merge2'[DealStage] IN {"Order Received", "Lost", "Prospect", "Proposal Preparation", "Proposal Negotiation", "Qualified Need", "Proposal Sent", "Order Commitment", "Suspect", "Meeting Scheduled" ,"Workshop Scheduled" } ))
New actual inv = CALCULATE( SUM('Merge2'[amount_in_home_currency]), FILTER(Merge2,'Merge2'[DealStage] IN { "Invoiced" } ))
Result:
Best Regards,
Lin
hi, @DSArkphire
I think there should be something wrong in the relationship manage.
Please try to change the part of the "cross filter direction" from "Single" to "Both" and try it again.
If you still have the problem, please share a simple sample pbix file for us have a test.
Best Regards,
Lin
I'm afraid I have no relevant relationships to change. I've attached a sample of my data which continues to demonstrate the error in question.
hi, @DSArkphire
Just use FILTER in your formula as below:
New Forcast inv = CALCULATE( SUM('Merge2'[amount_in_home_currency]), FILTER(Merge2, 'Merge2'[DealStage] IN {"Order Received", "Lost", "Prospect", "Proposal Preparation", "Proposal Negotiation", "Qualified Need", "Proposal Sent", "Order Commitment", "Suspect", "Meeting Scheduled" ,"Workshop Scheduled" } ))
New actual inv = CALCULATE( SUM('Merge2'[amount_in_home_currency]), FILTER(Merge2,'Merge2'[DealStage] IN { "Invoiced" } ))
Result:
Best Regards,
Lin
Ah thank you that was it.
User | Count |
---|---|
82 | |
72 | |
67 | |
47 | |
36 |
User | Count |
---|---|
111 | |
56 | |
50 | |
42 | |
40 |