Skip to main content

 Menu Title should have Text and Distinct count Numbers for Menu Title.

To get both combined as union in Custom SQL below query

I have attached mockup and tableau workbook requirement below. 

 

Union

image 

1st table contains Text

2nd table contains distinct count of Text

Example below

imageIs there any workaround to resolve this issue am using UNION i have attached query in spreadsheet. as you said tableau Calculate those Total and Grand Total but the Total count of title will be a separate column and i have to get below. as per the requirement order of the column remain same also shared the spreadsheet. this will not allow Total and Grand Total to show for the below mockup attached spreadsheet.

imageAttached Mockup and Workbook.

 

Please refer earlier conversation

 

https://community.tableau.com/s/feed/0D5cw00000IJKKKCA5

1 件の回答
  1. 2025年6月6日 23:07

    Hey @Vicky P​ Thank you for providing a mockup and a sample workbook. There are several things different between the mockup and the Tableau workbook, so I'm having trouble determining what exactly the question is. Is there an issue with the SQL query not returning the expected values for [Total]? Could you provide a specific example of the issue and what you expect? For example, you might say something like "The total for run date 2/12/2024 is <1MM but I expect it to be >1MM and <3MM because..."

    Hope that helps!

    Esther Aller

     

    If I helped, please mark the question as answered :D

0/9000