Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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?
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
104 | |
101 | |
79 | |
72 | |
64 |
User | Count |
---|---|
142 | |
108 | |
101 | |
81 | |
74 |