I'm a beginner in Tableau, it would be great if someone could help me with these queries.
I want to find the maximum value from the amount table and want to return the mode of payment that the maximum amount belongs to.
Similarly, if I need to find the sum of amounts of a particular mode, how do I do that?
For first part use this T/F CF
as filter for TRUE
SUM([AMOUNT]) =
MAX(
{FIXED [MODE] : sum([Amount])}
)
OR if these aren'e aggregated already
[AMOUNT] =
{FIXED [MODE] : MAX([Amount])}
For second one use SUM([AMOUNT])
in view alongwith Mode
. In order to let me explain me better you have to upload some sample/fake data (not screenshot) that can be copied and worked upon in Tableau. Good Luck.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.