Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi ,
I have a date filter with values say 08/21/2023, 08/22/2023, 08/23/2023 and so on . I have also created a power bi table which has different columns with same name as above i.e 08/21/2023, 08/22/2023, 08/23/2023.
I want if date slicer is set to 08/21/2023 then power BI table should show only column with label 08/21/2023 , rest all columns should be hidden. similarly if date slicer is set to 08/22/2023 then power BI table should show only column with label 08/22/2023 , rest all columns should be hidden.
basically if slicer value equals to table column name then only that specific column should be displayed rest all columns should hide.
Good day
Please find some options
Options 1
base the column on a measure. In the measure use "if" function. If the date slicer is equal to the desired date value/s then blank() else place the required value/calculations.
Option 2
2.1 create a measure that checks if the value of the date slicer (use the "selectedvalue" function) is equal to the desired value/s.
2.2 Conditional format the background and font colour of the value field based on the measure (step 2.1). This makes the (column) value blend in (can not be seen) with the table/matrix background.
I found this resource to be very helpful as well.
The field parameter will go on the Columns of the Matrix and the Sum of values/Measure on the Values.
Proud to be a Super User!
am using table visual not matrix visual since i want to sort each column individually which is different dates in my case
If you have your dates as columns I'd recommend you to unpivot that table or use field paramaters.
Proud to be a Super User!
I want to keep the dates as columns only as this is my requirement
You can still display them as columns by placing the date value column in a pivot but if you don't want to transform the table schema, then field parameters is your only option.
Proud to be a Super User!
field parameters is using nameof function by default , i want to display sum of each date column in the power bi table.
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
71 | |
70 | |
43 | |
31 | |
26 |
User | Count |
---|---|
89 | |
49 | |
44 | |
38 | |
37 |