Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
MExtross
Helper I
Helper I

"Covering" a Visual

Hi Community!

 

I believe this is possible but I am just not sure how to do it. If you have a lot of data for a certain time frame (four months), and you have a monthly slicer on the visual, but you only want the data to appear when a month is selected on the slicer and not the full four months when nothing is selected on the slicer, how can you cover it? I believe that you could cover with a blank visual and adjust settings for that blank visual to disappear when something is selected in the slicer.

Please let me know if you have any ideas.

 

Thank you in advance!

1 ACCEPTED SOLUTION
Eric_Zhang
Employee
Employee


@MExtross wrote:

Hi Community!

 

I believe this is possible but I am just not sure how to do it. If you have a lot of data for a certain time frame (four months), and you have a monthly slicer on the visual, but you only want the data to appear when a month is selected on the slicer and not the full four months when nothing is selected on the slicer, how can you cover it? I believe that you could cover with a blank visual and adjust settings for that blank visual to disappear when something is selected in the slicer.

Please let me know if you have any ideas.

 

Thank you in advance!


@MExtross

There's no elegant solution, however you can achieve the goal with some tricky measure. See more details in the attached pbix file.

Measure = IF(ISFILTERED('calendar'[YearMon]),SUM('Table'[value]),BLANK())

Capture.PNGCapture.PNG

 

View solution in original post

2 REPLIES 2
Eric_Zhang
Employee
Employee


@MExtross wrote:

Hi Community!

 

I believe this is possible but I am just not sure how to do it. If you have a lot of data for a certain time frame (four months), and you have a monthly slicer on the visual, but you only want the data to appear when a month is selected on the slicer and not the full four months when nothing is selected on the slicer, how can you cover it? I believe that you could cover with a blank visual and adjust settings for that blank visual to disappear when something is selected in the slicer.

Please let me know if you have any ideas.

 

Thank you in advance!


@MExtross

There's no elegant solution, however you can achieve the goal with some tricky measure. See more details in the attached pbix file.

Measure = IF(ISFILTERED('calendar'[YearMon]),SUM('Table'[value]),BLANK())

Capture.PNGCapture.PNG

 

Capture FORMULA.PNG

Hi, I was able to cover it using the above formula!

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.