Skip to main content

Tableau Feed

Conecte con colegas Trailblazers. Haga y responda preguntas para mejorar sus habilidades y crear una red.

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 respuestas
  1. Hoy, 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 respuestas
  1. Hoy, 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 respuesta
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 respuestas
  1. Hoy, 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 respuestas
  1. Hoy, 5: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 respuesta
  1. Ayer, 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 respuestas
  1. Ayer, 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
Varun Sharma ha preguntado en #Tableau Public

Unable to complete action 

Workbooks saved to Tableau Public must use extracts. To create an extract, click the Data Source tab, then select Create Extract.  

 

The data source, Sheet1 (Tableau_Day_20 _A), is not an extract. 

Error Code: 3C242D89 

 

#Tableau Public

3 respuestas
  1. Ayer, 14:18

    Hi, 

    Please take a look at this previous article! 

     

    <past article> 

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

     

    <Note>

    Also, I’ve recently seen an increasing number of AI-generated answers being posted without sufficient verification. When evaluating suggestions, I would recommend giving particular consideration to answers that include concrete examples or tested samples. 

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

5 respuestas
  1. Ayer, 12:14

    Hi, @Riley Quinn 

    I'm not sure if this is exactly what you’re looking for, but please take a look.   

    I prepared a small test environment on part of the dashboard—focus only on PLAYER A’s ATTACK.  

    I created parameters for Starting Position Code and Current Position Code, and used them in the calculation fields. Since I’m not certain how these two are supposed to relate to each other, I treated them as independent for now.  

     

    When testing, please set both parameters to the same value. 

    All filter logic is embedded directly inside the calculation fields. The color assignment also uses those same conditions. 

    I tried applying three different colors as a test, so please check how it behaves. 

     

    <sample>Hi, I'm not sure if this is exactly what you’re looking for, but please take a look. I prepared a small test environment on part of the dashboard—focus only on PLAYER A’s ATTACK.

0/9000

I am looking to calculate average daily attendance percentages. Specifically, if 90% of students attended class on Monday, 80% attended on Tuesday, and 70% attended on Wednesday I should get 80%. While I've been able to find some posts on averages, none of the advice I've run across seems to cover quite what I'm looking to do.

 

Our records include individual student records, their attendance where T=attended and F=absent, the city they go to school in, and their class.

 

I can currently see the number of students who attended by day using the attendance field and the associated percent using the following calculated field: Count([Attended?]=true)/ total (count([Attended?]))

 

Is there any way to create a table that shows the average of these percentages? I would like to see these percentages at the classroom level and the city level.

10 respuestas
0/9000