The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hello,
I am having some difficulty with a slicer when used with a date table. The slicer is the date from the date table, which has a relationship with a date field in a data table. When I choose a year in the slicer, the data is filtered, but the visual is not. Image for reference:
You can see the data is limited to the year selected in the slicer, but the x-axis on the graph and years in the table are not limited to that year.
This is not an issue when I use the date field in the data table (not the date table), but then I'm limited in what kind of time intelligence I can do due to the dates not being acceptable as a date table.
Any help in obtaining the behavior I'd like would be appreciated.
Solved! Go to Solution.
@PurpleWave22 that is the issue, check this blog post
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
@PurpleWave22 that is the issue, check this blog post
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
@PurpleWave22 what is your measure? Are you returning 0 instead of blank?
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
My measure is a distinct count of IDs plus 0, so it does return 0s where there are no IDs. I just removed that from my measure and it resolved the issue, but there are some situations where the 0s are useful.
Is there a resolution that retains the best of both worlds where the 0s are retained but the slicer works as I expected it to?
User | Count |
---|---|
81 | |
81 | |
37 | |
34 | |
31 |
User | Count |
---|---|
94 | |
80 | |
60 | |
50 | |
49 |