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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Sept PBI Carousel

Power BI Monthly Update - September 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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