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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
sspk
Regular Visitor

Remove/Don't show the months with no data in Column, though "Show item with now data" is unchecked"?

HI,

I have a slicer with Tile and using a column "events_date' with Date Type. Also Show items with no data is "unchecked.

Ex: This is Aug,2024 month and it shows for SEP,OCT,NOV,DEC.

How to restrict it not showing feature months based on the table column? or some other way?

 

1.png

 

 

 

4.png

 

 

 

 

 

 

2.png

 

 

 

 

 

3.png

Thanks in advance,

Siva

1 ACCEPTED SOLUTION

Hi, @ssspk 

Maybe you can use bookmark. You can learn more about this.

Create report bookmarks in Power BI to share insights and build stories - Power BI | Microsoft Learn

 

vyohuamsft_0-1723771346740.png

 

How to Get Your Question Answered Quickly 

Best Regards

Yongkang Hua

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

5 REPLIES 5
Ashish_Mathur
Super User
Super User

Hi,

One simple way is to ensure that the Calendar table only goes uptil the last date in the Date column of the Fact Table.  Drag Year and Month name from the Calendar Table.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

HI @Ashish_Mathur 

Thank you for your reply.

 

Hi @v-yohua-msft ,

Thank you for your reply and time,

I can achieve it by add ing therese sprate measures in different columns,

 

Day = FORMAT('Table_Name'[event_date], "DD")
MonthName = FORMAT(Table_Name[event_date], "MMMM")
Year = FORMAT('Table_Name'[event_date], "YYYY"),
MonthNumber = MONTH('Table_Name'[event_date]) -- (Which is used for Sorting of the columns of MonthName.)
 
month_last_select.png
 
 
 
Now how to make the current month as default selected like "August" in Tile Month, When page loads?
 
 Thanks ,
Siva

 

v-yohua-msft
Community Support
Community Support

Hi, @sspk 

Maybe you can create a calculated column to achieve what you want.

I create a sample table:

vyohuamsft_0-1723685040204.png

Then create a calculated column and try the following dax:

Month = MONTH('Table'[Date]) 

vyohuamsft_1-1723685091266.png

 

Here is my preview:

vyohuamsft_2-1723685103924.png

 

How to Get Your Question Answered Quickly 

Best Regards

Yongkang Hua

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

Hi @v-yohua-msft ,

Thank you for your reply and time,

I can achieve it by add ing therese sprate measures in different columns,

 

Day = FORMAT('Table_Name'[event_date], "DD")
MonthName = FORMAT(Table_Name[event_date], "MMMM")
Year = FORMAT('Table_Name'[event_date], "YYYY"),
MonthNumber = MONTH('Table_Name'[event_date]) -- (Which is used for Sorting of the columns of MonthName.)
 
month_last_select.png
 
 
Now how to make the current month as default selected like "August" in Tile Month, When page loads?
 
 Thanks ,
Siva

Hi, @ssspk 

Maybe you can use bookmark. You can learn more about this.

Create report bookmarks in Power BI to share insights and build stories - Power BI | Microsoft Learn

 

vyohuamsft_0-1723771346740.png

 

How to Get Your Question Answered Quickly 

Best Regards

Yongkang Hua

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

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.