Superset cumulative sum in Big number and Table. #32058
Replies: 1 comment
-
|
To achieve the desired cumulative sum calculation in Superset's Big Number and Table visualizations, especially when dealing with filters from different datasets, you can follow these steps:
By creating a virtual dataset in SQL Lab that combines the necessary data and calculations, you can effectively use dashboard filters across different datasets and achieve the desired cumulative calculations in both Big Number and Table visualizations. To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi , I have a problem in both superset Big Number and Table.
for the Big number: What I need is I want to calculate the Till the month base but the issue is I want to pass this month from a selected value in dashboard filter (but this is on different dataset and name of the column is also not the same). so that I'm not able to do.
Till now what I was trying that I joined the two datasets on ID but issue in this I select a value in filter then dataset itself will filtered and then it will count the base till date in that filtered dataset.
max("onboarding month datetime") <= {% if filter_values("transaction month datetime")|length %} {{ filter_values("transaction month datetime")[0] }} {% else %} extract(epoch from current_date) {% endif %}the same I want in table where I get cumulative base IDs onboarded till each month column in table.
Please help me on this , Thanks.
Beta Was this translation helpful? Give feedback.
All reactions