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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
cusdaiv
New Member

Filter doesn't show complete data set

When I attempt to filter data (revenues by week), the filter stops at 2015-49 (data begins in 2014 and is ongoing). Is there a cap on the number of data points that I can sort individually? The points not shown in the filter are in my graph, but I would like to sort from september to the present and am currently unable to do so. 

2 REPLIES 2
Greg_Deckler
Community Champion
Community Champion

@cusdaiv - It looks like the way your filter column is configured, it ends up as text. You might consider creating a custom column that is essentially:

 

= YEAR([date]) & MONTH([date])

 

Then, you would have a format such as:

 

201549

 

Then, you could set your filter to be "greater than" 201549 for example.

 

Tough to be sure I am answering your question correctly without sample data and such.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

@Greg_Deckler, the concatenation operator will return a Text string, so inequality operators would sort lexicographically, and visual-, page-, and report-level filters would not have greater than / less than options.

 

You could use the concatenation and then change the data type to Whole Number to get the filter options. Either way, simple concatenation is inappropriate for creating a year-month field, as there are 12 months. 20159 < 201412

 

The best way to do this would be arithmetic or utilizing FORMAT():

 

// DAX
// YearMonth arithmetic
YearMonth =
YEAR( DimDate[Date] ) * 100 + MONTH( DimDate[Date] )

// YearMonth with FORMAT()
// VALUE() is used to cast the Text string from FORMAT() to a 
// Whole Number YearMonth = VALUE( FORMAT( DimDate[Date], "YYYYMM" ) )

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.