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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
ash757
Frequent Visitor

How to make filters more apparent?

I have a business request where I am required to make my filters which are applied should be apparent, in other should be more obvious which filters are applied. I know we can view it by hovering on the filters button on the visual. But need something more obvious.

Like, "Showing results for timeline 18/03/2024 to 25/03/2024". 

ash757_0-1714973409157.png

 

Moreover, is there a way to make a "week" column where I can put weeks from monday-to-sunday, and in a date-to-date format.

What I mean is showing past weeks as "29/04/2024(Sunday) to 05/05/2024(Monday)".

(Currently, I have made a date Offset and divided the daycount by 7 to make weeks offset)

DAX measures for refrence:

DayOffset = ABS(DATEDIFF(TODAY(),'Calendar'[Date],DAY))
Last N Weeks = CEILING(('Calendar'[DayOffset]/7),1)

ash757_1-1714973488302.png

 

Thanks!

2 ACCEPTED SOLUTIONS
DataNinja777
Super User
Super User

Hi @ash757 

Does the below meet your requirement?  

DataNinja777_0-1714976544426.png

I attach an example pbix file.  

View solution in original post

ash757
Frequent Visitor

Got the solution for my second query.

DAX:

Week = FORMAT('Calendar'[Date] - WEEKDAY('Calendar'[Date],2) + 1,"d/m") & " to " & FORMAT('Calendar'[Date] - WEEKDAY('Calendar'[Date],2) + 7,"d/m")

View solution in original post

3 REPLIES 3
DataNinja777
Super User
Super User

Hi @ash757 

Does the below meet your requirement?  

DataNinja777_0-1714976544426.png

I attach an example pbix file.  

This works! Thanks. 

If you have a solution for my second query as well then I will accept as solution. 

 

ash757
Frequent Visitor

Got the solution for my second query.

DAX:

Week = FORMAT('Calendar'[Date] - WEEKDAY('Calendar'[Date],2) + 1,"d/m") & " to " & FORMAT('Calendar'[Date] - WEEKDAY('Calendar'[Date],2) + 7,"d/m")

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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