Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.
Hi Everyone,
I am trying to select the Column Dynamically in Table graphics according to Date.
Ex - I have data for various countries with respect to Month. However, Month data is entered as shown below.
I am creating a table visual, where I want to see the data for the current month only. Following should be the output
For January, I should get the data for Jan 23, and for February, I should get the data of Feb 23. This process should happen dynamically.
I tried a few ways but could not get it.
Thank you.
Solved! Go to Solution.
Hi @Chandra_maha ,
Based on your description, I have created a simple sample:
Please try:
Unpivot the Date columns:
Then create a measure:
Measure = IF(LEFT(MAX('Table'[Attribute]),3)=FORMAT(TODAY(),"MMM"),1,0)
Apply it to the visual:
Final output:
Best Regards,
Jianbo Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Chandra_maha ,
Based on your description, I have created a simple sample:
Please try:
Unpivot the Date columns:
Then create a measure:
Measure = IF(LEFT(MAX('Table'[Attribute]),3)=FORMAT(TODAY(),"MMM"),1,0)
Apply it to the visual:
Final output:
Best Regards,
Jianbo Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
This will work if I opt for the slicer. However, I need to reflect the column with respect to current month dynamically.
Thank you @Thennarasu_R for suggesting the "Filed Parameter". If I use that, then I have manually selected the Column of various months every time where there is a change in Month.
Is there a way, the month gets selected or changes dynamically with a date?