Forum Discussion
Page selection by Dax Code
- 4 years ago
Shahabr
If I understood your question correctly, you need to be able to chagne the color of your Page background based on the hour of the day example, before 6 PM blue and after 6PM black.
Insert a shape on the page and expand it to cover the page, under STYPE> FILL use the follow meaure to apply conditional colorColor = IF( HOUR(NOW()) > 18 , "Black" , "Blue")
Shahabr
If I understood your question correctly, you need to be able to chagne the color of your Page background based on the hour of the day example, before 6 PM blue and after 6PM black.
Insert a shape on the page and expand it to cover the page, under STYPE> FILL use the follow meaure to apply conditional color
Color = IF( HOUR(NOW()) > 18 , "Black" , "Blue")
- Shahabr4 years agoNew Member
In fact, I have two pages and I want to use Dax code which is shown by considering the time
my English is not well, thank you for your help