cancel
Showing results for 
Search instead for 
Did you mean: 

How to have the secondary value in an Indicator Widget not be affect by Dashboard Filters

Astroraf
10 - ETL
10 - ETL

Hi @DRay @Liliia_DevX ,

I am curious: if a customer wants to have a formula in the second indicator widget not affected by the dashboard filters, how would one go about doing this?

My solution would be:

COUNT(coloumn_name, ALL(dim_value))

Would this be correct? 

2 ACCEPTED SOLUTIONS

AssafHanina
Sisense Team Member
Sisense Team Member

Hey @Astroraf ,

The Syntax shared is a valid solution.
The ALL Function ignore the scope of the filter (See related documentation)

Example of Using the same measure twice with and without All Function

AssafHanina_0-1738659013334.png

Best regards

Assaf

View solution in original post

Liliia_DevX
Sisense Team Member
Sisense Team Member

@Astroraf hi! If you like to have multiple dimensions not be affected by dashboard filters, the syntax should look like on the screenshot below:

Screenshot 2025-02-04 at 11.32.09.png

Feel fee to test it from your side 🙂 

Best Regards,
Lily

View solution in original post

6 REPLIES 6

AssafHanina
Sisense Team Member
Sisense Team Member

Hey @Astroraf ,

The Syntax shared is a valid solution.
The ALL Function ignore the scope of the filter (See related documentation)

Example of Using the same measure twice with and without All Function

AssafHanina_0-1738659013334.png

Best regards

Assaf

Astroraf
10 - ETL
10 - ETL

@AssafHanina Thank you got this solution. My only question is say I have multiple filters. Could this still apply?

example: SUM(COUNT([ID]), ALL([dim_val1], [dim_val2], [dim_val3]))

Liliia_DevX
Sisense Team Member
Sisense Team Member

@Astroraf hi! If you like to have multiple dimensions not be affected by dashboard filters, the syntax should look like on the screenshot below:

Screenshot 2025-02-04 at 11.32.09.png

Feel fee to test it from your side 🙂 

Best Regards,
Lily

AssafHanina
Sisense Team Member
Sisense Team Member

Hey @Astroraf ,

Please find Liliia syntax below

Best Regards

Assaf

Astroraf
10 - ETL
10 - ETL

Hi @Liliia_DevX and @AssafHanina,

I have another step to this process. Not sure if it has already been asked, but I need a calculation to not change with any filtering. How would I achieve this?

Liliia_DevX
Sisense Team Member
Sisense Team Member

@Astroraf hi!

The only way to do that on a formula level is to include all dimensions used in filters with ALL() function. 

Another approach is to create an indicator with one value and just toggle off all dashboard filters in the widget edit mode: 

Screenshot 2025-02-07 at 17.40.06.png

Best Regards,
Lily