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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

Data appears in table visual but not in a chart

I have a table visual for which I am using a measure as a filter.

sandeshp_0-1712912532045.png

This is the measure that I am using as a filter for the table visual:

 

dateFilter = 
IF(
    [StartDateMeasure] <= SELECTEDVALUE(tableName[created_at]) && [EndDateMeasure] >= SELECTEDVALUE(tableName[created_at]),
    1,
    0
)

 

If I convert this table visual to a bar chart, then it does not show anything:

 

Step 1: Selected the Stacked column chart visual:

sandeshp_1-1712912787403.png

 

Step 2: Moved "created_at" from Legend to Y-axis. Now there is no data shown in the bar chart:

sandeshp_2-1712912886702.png

 

 

 

Also, for some reason, if I clear the dateFilter, then the data is shown in the bar chart. I believe this data is for the case when dateFilter=0.

sandeshp_3-1712913016159.png

How do I create a bar chart for this? 

The data certainly exists where dateFilter=1 (the rows shown in the first image satisy the condition of the dateFilter)

 

 

 

1 REPLY 1
Ritaf1983
Super User
Super User

Hi @Anonymous 

Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).
https://community.powerbi.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-...
Please show the expected outcome based on the sample data you provided.

https://community.powerbi.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors