on 09-01-2022 9:13 PM
Hi,
I have a scenario as below.
My table has a column 'Start date'. If the start date is within last 7 days, I need to style it in a different font and color.
Is it possible in SAC Story or in SAC Analytics Application?
I have tried 'Styling Rules' option in Styling panel. But unable to give any specific conditions.
Hi sarathms1,
You need to add calculation for number of days as first step. Once you have that info at the story level you can use Conditional Formatting and Assigning Colors to Dimension Members.
Here is an example of Conditional Formatting with icons, you can change it to cell color as well.
Blog Post : Feature Highlight – Dynamic Conditional Formatting in SAP Analytics Cloud
Note: At this moment you can highlight measure/ accounts only.
Additional tricks to format dimension members:
How to show the Tick and cross marks in conditional formatting?
At this moment SAC do not allow highlighting dimension members based on a measure (in this case number of days). Feel free to vote on this enhancement request
Conditional formatting in table dimensions
Viewers/ readers - If you find above information helpful, feel free to up-vote (arrows on left side).
-Debjit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you Debjith. The information is very useful.
So, this means there is no direct functionality available as of now to dynamically change the dimension member styles based on the dimension member values (not based on measure/account values).
If the requirement is to get the 'latest start date' from the table, and highlight all the dates which fall within the last 7 days from the latest start date, it seems to be not possible as of now.
correct!
this is know. limitation for now. you can highlight measures or calculated fields for now. Vote on the enhancement.
Hope this helps.
thanks,
Debjit
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.