Skip to main content

Tableau Feed

与其他 Trailblazer 联系。
2 个回答
  1. 9月9日 16:55

    Hi @Elis Vergan

     you can apply the same Tableau Server license key on three instances in parallel, as far as the other two environments are non-productive (following the Tableau User Agreements), for example production passive standby, or qa or dev... 

    @Kundan Kumar Jha

    Please read the Tableau forum rules on the ban of using AI generated answer for technology topics. Please contribute only personal with answers based on your own experience. That is the spirit of the Tableau community forums where Tableau users help each others.  

    https://trailhead.salesforce.com/trailblazer-community/feed/0D5KX00000kSGZy0AO

0/9000

As many other posts have done, I'm trying to figure out a way to make default values in a lower filter for cascading filters. If I have two, single select drop down quick filters (I can only use single select drop down with the all option turned off in the customize menu; I cannot do multiple values list) and one is "School Level" and the other is "School Name", I need to create a filter action that will set School Name to a default element based on the choice of School Level. For example, if I have my School Level set to "Middle Schools" and my School Name is set to "ABC Middle School", then change my School Level to "Elementary Schools", I need School Name to change to an element within "Elementary Schools", say "XYZ Elementary School." I work to make school data more accessible than how it is currently reported and many of the families who use the dashboards I work on will struggle to access this tool if changing your school level makes the view go blank because the school you were looking at is not in the new level.

 

Someone recommended creating a reset button, but that doesn't actually solve the problem. If by default when you open the visualization my School Level is set to "Elementary Schools" and the School Name is set to "ABC Elementary School" (because the filters have to be set to something when you start and it can't be the all option), once you change your School Level to "Middle Schools," the problem is the first thing you encounter because the School Name filter is set to "ABC Elementary School" which is not a Middle School. Now, because you are confused, you press the reset button and are sent back to where you were before.

 

I've also seen this webpage titled How to dynamically set default values for quick filters and I've tried to recreate his steps, but I assume Tableau has changed how the filter action works since 2015 when the page came out. I've attached the workbook file below to see what I've tried there. His example used a field in the original Sample Superstore called Order Priority, but that no longer is included. To replicate the issue here, I used Sub-Category to act as the sub-filter for the action to affect, then limited it to 2021 and a few manufacturers since the data set is so big. When you click "Same Day" as the Ship Mode in the dashboard and set the Sub-Category to copiers, the Profit Per State view will go blank. It's likely I just don't know how to use filter actions correctly since I'm newer to Tableau, but any help would be appreciated.

 

I also found the setting default filter selections post, but it is based on the post mentioned above and I'm struggling to figure out how to parse out the issue I'm having.

 

Any help is greatly appreciated!

14 个回答
  1. 9月9日 10:31

    thanks for attaching your workbook Filters in Tableau do not Cascade - they are what is known as AND filters - selections on several dimensions all must return a True  when the filters are applied - you can use cascading parameter values - see https://jimdehner.com/2021/10/04/sets-and-filters-the-condition-and-top-n-tabs-what-do-they-do/  the 7th example show how it is done with the addition of a dashboard extension - 

0/9000

Hi everyone, I’m looking for some help with a Tableau dashboard I’m building. I’ve attached screenshots of my current worksheets and the dashboard layout.

 

I have

multiple athletes displayed on the same dashboard, and each athlete has their own position filter. For example, Athlete 1 could be benchmarked as a GS while Athlete 2 could be benchmarked as a GA.

 

For each statistic, I want the athlete’s

AVG/Q to automatically colour:

  • 🟢 Green = above their selected position’s League Avg/Q
  • 🟡 Yellow = equal to the League Avg/Q
  • 🔴 Red = below the League Avg/Q

The main issue is that the athlete AVG/Q and League Avg/Q are on separate worksheets. I need the position selection to change the League Avg/Q benchmark, but I don’t want it to filter the athlete’s own statistics, as their AVG/Q should remain their total for the match.

 

I also need each athlete’s position selection to work

independently. Changing Athlete 1 from GS to GA, for example, shouldn’t change the benchmark selected for Athlete 2.

I need this to work across multiple stats such as CPR/Q, Feeds/Q, Assists/Q, Gains/Q, etc.

 

What would be the best way to set this up in Tableau so the conditional colouring works correctly?

Thanks for any help! 

 

#Tableau Desktop & Web Authoring

7 个回答
0/9000

Hi everyone

I was exploring how to use Tableau for HR and payroll analytics, especially for UAE-based businesses.

I came across a UAE gratuity computation API that calculates end-of-service benefits based on salary and years of service.

Now I’m curious has anyone here tried connecting such external APIs (like HR or financial calculators) directly into Tableau dashboards?

I’m thinking about using it for visualizing total gratuity liability per department or employee group, but I’m not sure what’s the best way Web Data Connector or Tableau Prep script?

Would love to know how others here have handled API-based data visualization in Tableau .

3 个回答
  1. 昨天,20:43

     I haven’t tried this exact API, but I’d probably start with Tableau Prep if the data needs any cleaning or calculations before it reaches the dashboard. A Web Data Connector could make sense if you need a more direct setup. It would be interesting to see how the gratuity data works out by department once connected. 

0/9000

Im customizing an oauth web data connector 3.0 so I can pull data from a graphql endpoint. Has anyone attempted to do this before? I keep getting a 405 Method not allowed error even though my code indicates "POST" 

 

#Tableau Desktop & Web Authoring

2 个回答
  1. 昨天,20:30

    Hi Rajneesh,  

     

    My endpoints work in Postman so I belive its a Tableau issue but im not sure how to resolve it. Im not using GET anywhere within my code. 

0/9000

Litify + Tableau + Salesforce

I’m trying to pull information from Intakes and Matters and connect the two using a join, but I can’t seem to find the correct key/field to link them.

I reached out to Tableau Support, and they told me I would need to use SQL to pull the Matter information and that I wouldn’t be able to use joins.

Has anyone else run into this issue or found a way to connect Intakes and Matters in Tableau?

Any advice on which fields/keys to use would be greatly appreciated! 

 

#Tableau Desktop & Web Authoring

1 个回答
0/9000

I have a complicated issue due to how the shareholders want the data displayed and the calculations involved. 

What I am trying to do is simply get for Month 1 for the [Projected Carry From Prior Month] to be  

Month 0 ([Shipments Calc] + Month 0 [LOD Actual Demand]) -  Month 0 [Forecast) resulting in 24,422 ((14,490 + 111,872)-101,940). 

 

I kept the Old Formula for the [Projected Carry From Prior Month] metric in the workbook as it is made up of three calculations. The issue is when i bring in [LOD Actual Demand] I get the error of cannot mix aggregate and non-aggregate. No matter what I try I cant get the error to fix unless I break the [LOD Actual Demand] by taking off the additional SUM in the formula which results in the wrong answer. Any help would be greatly appreciated. Tried multiple  

 

Expected End Result of formula: 

Month 0 is 0 by default since there is no carryover. So for  

Month 0 the calc should show 0,  

Month 1 the calc should show 24,422 

Month 2 the calc should show 12,844 

Month 3 the calc should show 13,756 

Hoping there is a Fix for this LOD

 

 resources before asking here and they could not figure this out 

 

#Tableau Desktop & Web Authoring  #LOD  #Formulas  #Tableau

2 个回答
  1. 昨天,13:42

    Thank you for the response. This is close to what I need but still have the same issue, due to the fact that I need to put it into a final LOD statement since the calculation is different for each month. Month 0 is 0 by default since there is no carryover. So for  

    Month 0 the calc should show 0,  

    Month 1 the calc should show 24,422 

    Month 2 the calc should show 12,844 

    Month 3 the calc should show 13,756 

     

    Month 2-3 calc = Prior Months (ZN([Forecast Demand Requred])-ZN([Deterioration Tons Forecast])) -ZN([Forecast]) 

0/9000

I have a dashboard with 3 separate crosstabs stacked vertically. I have the same columns in all, only some filtering differs so I want to keep the columns aligned.  

One of these crosstabs can be very long and a scroll bar appears. How can I keep the columns fixed and have the scrollbar appear to the right of the fixed space. 

I am on cloud, and desktop is also 26.2. This used to work in previous releases using standard fit and fixing the columns, but in 26.2 the viz resized with the scrollbar instead of drawing the scrollbar outside of the columns 

 

#Tableau Desktop & Web Authoring

11 个回答
  1. 昨天,05:13

    @Soichiro Toyota

     

    That is exactly what I have done. It worked in previous version but no longer in 2026.2. I have indeed contacted the Support, and they confirmed that there is something strange going on with resizing crosstabs in a vertical container.

0/9000

We have an on-prem server with a single site and set of users.  We have GCP users that are part of two separate GCP environments that would both like to connect to their Google Drive data.  In Tableau Server it seems I can only set up the client ID and secrets in the OAuth Clients Registry for one, trying to add a second only replaces the existing.  This causes whichever user whose token is not currently in the tableau settings to run into a 403 forbidden error.  Is there a way to accommodate both in Tableau?  Could it be done with custom oauth?  Is there a setting in google that would allow one GCP to use the oauth settings from the other? 

 

#Tableau Desktop & Web Authoring

1 个回答
  1. 9月7日 18:50

     Hey Gordon, yeah this is a known pain point, Tableau Server's OAuth Client Registry only allows one client config per connection type (like Google Drive) at a time, so adding a second GCP project's client ID just overwrites the first one instead of coexisting.

    A few things to consider:

    Custom OAuth config (the XML-based one, not the built-in registry) is actually your best bet here. Instead of using the default Google Drive OAuth setup, you can create a custom OAuth connector config per GCP project and register both as separate "custom" connections. Users would then pick the right one when connecting, kind of like having two different named connectors. It's a bit of manual setup but it does work.

    On the Google side, there isn't really a clean way to make one GCP project inherit or share OAuth credentials with another, they're treated as fully separate apps by Google's OAuth consent screen, so that route's a dead end.

    Realistically, most people in this situation end up doing the custom OAuth XML approach with two distinct client IDs/secrets, or they consolidate to a single GCP project for Drive access if that's politically possible on your end. It's not elegant, but it avoids the 403 issue since each user hits the right client config.

0/9000

The summary of my problem is that I am using Measure Names as a filter on multiple sheets and I would like to apply the same filter across the multiple sheets. 

 

As it is known, this option is unavailable for Measure Values. 

 

I do not see pivoting the data as an option, as my measures have varying formats. I also cannot implement a parameter, as I want to be able to select many measures at once. Also, I would like the solution to be adaptable to data and workbook updates if new measures are added. 

 

I am open to additional suggestions and solutions. 

 

I am using Tableau version 2025.3. 

 

#Tableau Desktop & Web Authoring

2 个回答
  1. 9月7日 16:03

    Measure Names is a Tableau-generated field used with Measure Values. Although it can be displayed as a filter, its selected members are tied to the measures used in each worksheet. 

    Therefore, it does not behave like a normal data-source dimension that can be shared reliably using Apply to Worksheets. 

    There is no native solution that simultaneously provides: 

    One multi-select Measure Names control for unrelated worksheets 

    Different number formats for every measure 

    Automatic inclusion of future measures 

    The most maintainable solution is to reshape the data into a long structure containing fields such as [Metric Name] and [Metric Value]. 

    [Metric Name] becomes a real dimension, so its filter can be applied to selected worksheets or all worksheets using the same data source. 

    If pivoting is not possible, the alternatives are: 

    Create a small metric scaffold or metadata table and use its metric field as the common selector. 

    Use parameters or sets to control a predefined list of measures. 

    Parameters provide more control over formatting and sheet switching, but newly added measures must also be added to the parameter or calculations. 

    In short, Measure Names cannot be used as a truly global and future-proof multi-select control across worksheets. A real metric dimension is required for that behaviour.

0/9000