16
Views
2
Comments
Hide/Show column based on current Month
Question

Hey, 

I'm trying to build a table for KPI that has columns for each month, and I want to Hide/Show each column base on the current month. 

I already tried, but none of them worked:

-   If(Month(CurrDate() = 1 ) ,"display:none; ","")

-  If(Month(#2023-01-01#) = Month(CurrDate()) ,"display:none; ","")

Thanks

Hello,

I tried your condition for column into table widget and it is working fine. You will need to add same value for style attribute into header and row of table


Hi João!


Where are you using this validation?

I think you are using in "Style class" property, and if so, you need to create a class in CSS and use it. Otherwise you can "create" property style, and use there.

Check:

with CSS class

with style property:


Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.