AnnaNguyen
12-09-2023Data Storage
How to use Blox to incorporate dynamic count based on Sisense functions to TextBlock
To add dynamic count Count([id]) to the widget, I just simply type {panel:Count} (screenshot 1).
For complex Sisense function (please see my screenshot 2 below) like this one: avg(DDiff([Days in effective_end_date],[Days in effective_start_date])), each record ID will have this function applied (i.e. record ID 1 with ddiff is 200, record ID 2 with ddiff is 100, record ID 3 with ddiff is -100, etc), and I want to get count of all record IDs where each of their avg(DDiff([Days in effective_end_date],[Days in effective_start_date])) IS LESS THAN 0, in that case, how do I add it to Sisense Blox textblock widget?
Thanks for reviewing. Please let me know if more clarity or verbal talk is needed.