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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Tumbleweed
Helper II
Helper II

How to remove other dates in visual?

Hi community,

 

I would appreciate any ideas on how to show only the latest date Apr 2 and remove other dates from the the stacked column visual.

 

Tumbleweed_0-1649701820453.png

Tumbleweed_1-1649701960907.png

Thank you!

2 ACCEPTED SOLUTIONS
v-stephen-msft
Community Support
Community Support

Hi @Tumbleweed ,

 

You could try to create a visual-level measure. Then set as follows, show items when the value is 1.

Measure = IF(SUM('Table'[Value])>0,1)

vstephenmsft_0-1650010579497.png

 

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

v-stephen-msft
Community Support
Community Support

Hi @Tumbleweed ,


Could you tell me if your problem has been solved?
If it is, kindly Accept it as the solution. More people will benefit from it.
Or you are still confused about it, please provide me with more details about your problem.


Best Regards,
Stephen Tao

View solution in original post

11 REPLIES 11
v-stephen-msft
Community Support
Community Support

Hi @Tumbleweed ,


Could you tell me if your problem has been solved?
If it is, kindly Accept it as the solution. More people will benefit from it.
Or you are still confused about it, please provide me with more details about your problem.


Best Regards,
Stephen Tao

v-stephen-msft
Community Support
Community Support

Hi @Tumbleweed ,

 

You could try to create a visual-level measure. Then set as follows, show items when the value is 1.

Measure = IF(SUM('Table'[Value])>0,1)

vstephenmsft_0-1650010579497.png

 

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Dear Stephen,

 

Thank you very much for providing a solution! It does solve stacked column visual problem. I have found alternative solution: the value I was using was a measure that was ending with 0 to avoid showing 'Blank' in a slicer.

All Hours =
VAR all_hours =
SUMX(VALUES(table[org]),
SUMX(VALUES(table[position]),
SUMX(VALUES(table[employee]),
CALCULATE(MAX(table[Total Hours Sum])))))
RETURN IF (all_hours = 0, BLANK(), all_hours) + 0
Once I removed 0, the visual started working correctly.
 
Thanks again!
Tumbleweed
Helper II
Helper II

I think there is relationship between slicer and visual:

Tumbleweed_0-1649706645814.png

 

 @Tumbleweed 
Please share a copyable dataset for me to test out.

vojtechsima
Memorable Member
Memorable Member

Hi, @Tumbleweed ,
You can either use a slicer and select only a single value or in the Filter pane, you can filter just the one date you want.

Thank you, vojtechsima! 

1. When I use slicer  for any single date  it shows other dates on visual.

2. When I select only a single value on the Filter pane, it shows the only date I need. But when I use slicer to go to previous dates, the visual is blank.

I need to have a single value on  a visual and be able to come to previous dates with a single date shown. Is there any way to fix it?

PREVIEW
 
 
 

 

 

@Tumbleweed 
If you need to dynamically see the dates, you gotta use slicer.
Could you please share a sample data, it the slicer doesn't work, the chart and the slicer aren't connected properly (there is no relationship between them).

I just posted the link above. I woud appreciate any help with fixing the visual.

I just posted the link above. I woud appreciate any help with fixing the visual.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

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.