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
as1195
Frequent Visitor

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?
➤ 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
September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

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