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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
Anonymous
Not applicable

Filtering a particular column based on parameter

Following are my column headers:

EashwarBalaji_0-1676372393077.png

I have a parameter which dynamically changes everyday, i want my dashboard to use a different column based on the parameter value. That is, if my parameter has 13/02/2023, i want my powerBI to filter the 13/02/2023 column from the above table.

If it helps, the parameter updates to today's date everyday, so basically i want my PowerBI to filter today's column, everyday. If this can be done without the need for a parameter, I would be happy to see that solution as well.


Is this possible?

Thanks in advance!

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Rather than unpivot, I transposed the data to have the dates in rows, and filtered the row based on the parameter
Column1 is the transposed date column, MaxDate is my parameter.

EashwarBalaji_0-1676387951320.png


I did another transpose again, to get it back as a column

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Rather than unpivot, I transposed the data to have the dates in rows, and filtered the row based on the parameter
Column1 is the transposed date column, MaxDate is my parameter.

EashwarBalaji_0-1676387951320.png


I did another transpose again, to get it back as a column

amitchandak
Super User
Super User

@Anonymous , If this is your table structure, you should try to unpivot the dates in power query.

https://radacad.com/pivot-and-unpivot-with-power-bi

Then you can have a column like this in table of date table to filter

 

Is Today = if('Date'[Date]=TODAY(),"Today",[Date]&"")

 

Default Date Today/ This Month / This Year: https://www.youtube.com/watch?v=hfn05preQYA

 

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.