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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
as1195
Helper I
Helper I

How to hide blank rows in table visual without using visual level filter

Hi ,

I have the table visual wher Price and Last Updated Date are measures and I have "Out Of Date" Slicer. Upon clicing on out of date slicer the below table should reflect only those Id rows where the Last updated date is not more than 365 days.
I know I can achive this by applying visual level filter where last udpated is not blank  but I would like to know is there any other way around we acheive this only thourgh Dax and not applying any filter on the visual.

 

IDCountryPriceLast Updated Date
1Algeria100Feb-23
2Belgium Mar-23
3Canada237Jan-20

Thanks in Advance!

2 REPLIES 2
Sahir_Maharaj
Super User
Super User

Hello @as1195 ,

 

Can you please try this:

 

1. Create a New Calculated Table

FilteredTable =
FILTER(
    YourOriginalTable,
    DATEDIFF(YourOriginalTable[Last Updated Date], TODAY(), DAY) <= 365
)

2. Use the New Calculated Table in Your Visual

3. Configure the "Out Of Date" Slicer: Make sure your "Out Of Date" slicer is correctly configured to filter the "FilteredTable" based on your slicer selections.

 

Should you require further details or information, please do not hesitate to reach out to me.


Did I answer your question? Mark my post as a solution, this will help others!

If my response(s) assisted you in any way, don't forget to drop me a "Kudos" 🙂

Kind Regards,
Sahir Maharaj
Data Scientist | Data Engineer | Data Analyst | AI Engineer
P.S. Want me to build your Power BI solution? (Yes, its FREE!)
➤ Lets connect on LinkedIn: Join my network of 15K+ professionals
➤ Join my free newsletter: Data Driven: From 0 to 100
➤ Website: https://sahirmaharaj.com
➤ Email: sahir@sahirmaharaj.com
➤ Want me to build your Power BI solution? Lets chat about how I can assist!
➤ Join my Medium community of 30K readers! Sharing my knowledge about data science and artificial intelligence
➤ Explore my latest project (350K+ views): Wordlit.net
➤ 100+ FREE Power BI Themes: Download Now
LinkedIn Top Voice in Artificial Intelligence, Data Science and Machine Learning

Hi Sahir,

Thank You for the reply.
I cannot use the filter function here as it replicates the whole target table with the condition.The example which I provided earlier was just sample but in real time I have a very big fact table and also the table in visualization included other Dax measures also 

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

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! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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

Top Solution Authors