Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and a 50 percent discount on exams.
Get startedEarn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Greetings -
My Dax formula is giving me the correct results when I select a particular qtr via a slicer in my card visual. So I have my summary section of a report working (all cards are displaying correctly when I select a single qtr. However, when I select multiple qtrs, my goal card visual is not working. In other words, if I select more than one Qtr, I can't get it to add the multiple qtrs together. But the other cards do display correctly. Any help or assistance would be very appreciated!
DAX logic for the measure is based on a DAX-created table
Measure: Bookings Goal =
Solved! Go to Solution.
Hi @Anonymous
Please use
Bookings Goal =
SUMX (
FILTER (
'2022 Business Goals',
'2022 Business Goals'[Quarter] IN ALLSELECTED ( tblCalendar[Fiscal_Qtr] )
),
'2022 Business Goals'[Bookings Goal]
)
I am volunteer helper but wish I had a £ every time a power Bi noice asked this question !!
A slicer does what is says on tin!
If you slice by Year 2021, or Q2/2022 or Region = France
then that is only what you will get on the report.
There are 2 ways to overide this behaviour
Method 1 - click on the slicer / Format / Edit intercations / then click the None icon on your Cards.
The slicer will still apply to all the other visuals except where you have specified none.
Method 2
Create 2 measure. One with the slicer and one that overides the slicer with REMOVERFILTERS.
For example
// this measure will be use the slicers
Silcedsales = SUM(Tablename[Sales])
// this measure will not use the calandar slicer
Unslicersales =
CALCULATE(
SUM(Tablename[Sales]),
REMOVEFILTERS(tblCalendar)
)
Thanks for reaching out for help.
I have helped you, now please help me by giving kudos.
Remeber we are unpaid volunteers.
Click the thumbs up and accept as solution button.
One question per ticket please. If you need to extend your request then please raise a new ticket.
You will get a quicker response and each volnteer solver will get the kudos they deserve. Thank you ! 😎
Hi @Anonymous
Please use
Bookings Goal =
SUMX (
FILTER (
'2022 Business Goals',
'2022 Business Goals'[Quarter] IN ALLSELECTED ( tblCalendar[Fiscal_Qtr] )
),
'2022 Business Goals'[Bookings Goal]
)
Thank you @tamerj1 - that was exactly what I was looking for. I hadn't thought about using sumx function. And I know my users will do multi-select on my summary page hence my question.
User | Count |
---|---|
91 | |
73 | |
68 | |
63 | |
55 |
User | Count |
---|---|
98 | |
89 | |
73 | |
63 | |
61 |