Skip to main content

#Customer0 人がディスカッション中

Dear,

I am count distinct Customer ID based on the Category filter.

 

To check that again, I used Excel to filter the category and then remove the duplicates of Customer ID.

In excel, I just got the total of different Customer ID is: 4873. and Tableau also give the total different Customer ID is 4873.

When I put Category into Row or Filter in Tableau, the result is total different. it is much more higher and unreliable data

 

Final Results are different between Tableau and Excel

Screenshot+2019-06-21+at+23.23.25.png

Screenshot+2019-06-21+at+23.30.31.png

 

For excel, it gives me the correct data. after I filter the category and remove duplicate in CustomerID.

1492 furniture

2847 Office Supply

534 Technology

here are the results.

 

Actually, I also used Tableau to calculate the total of Customer each, it was different from the result my boss had, so I was so confused right now, what's wrong here.I cannot share real data, just for example similar to what I actual calculate in my data.

 

Please help me, I attached the file of superstore here.

 

Thank you so much.

9 件の回答
  1. 2019年6月22日 6:08

    Hi Thoa,

     

    I agree with Ken, It does sound as error in Excel. 

     

    You see the difference in results when you added Category, because Tableau is counting distinct number of Customer ID at the level you specified. When there is no breakdown by category, Tableau counts a unique number of customers in the entire database. Once you break it by category, Tableau counts a unique number of customers in each category. It means that some customers placed orders in different categories. For example, if Customer #1 purchased furniture and office supplies, this customer will be counted as unique only once if there is no Category on a row shelf, but will be counted 2 times (once per each category) after Category added.

     

    To keep it fixed at Category level, you can use LOD formula as CustomerCount = { FIXED [Category]: COUNTD([Customer ID])} and replace CNTD(Customer ID) with CustomerCount on a row shelf. This way, if you remove Category from the shelf, it will count the number of customers as Furniture Unique Customers+Office Supplies Unique Customers+Technology Unique Customers.

     

    Hope that helps.

     

    Tanya

0/9000

Hi

 

Am having a excel data which contains more than 20 fields or columns of data with more than 50 rows.

 

Now i need to know how to get the full view of this data (need to view all the columns) in same single page of the workbook in tableau desktop.

 

Right now am able to see only 16 columns and that too in clumsy manner not in proper organized manner.

 

Also is that possible to add a horizontal scroll bar to see the all the columns/fields across the report?

 

Suggest if any other idea to achieve this.

19 件の回答
  1. 2013年10月30日 12:47

    Hi Balaji,

     

    16 Columns restrictions are not applicable when you use a customer dimension which has more than 16 members in it.

     

    You can attach the excel workbook after changing your editor mode to advanced by right click on the top right corner of the editor and choose 'Use advanced editor''. Once you are in advanced editor mode, right bottom you can see the attach button.

     

    Hi Balaji, 16 Columns restrictions are not applicable when you use a customer dimension which has more than 16 members in it.

0/9000

Hi All,

 

Can you please let me know what I am missing in the calculation below?

 

Data is coming from 2 different sources -

 

Source 1  - We use the paid subs number of most recent date. The users has the flexibility to change the date range to get the number at that point of time.

 

if  [Date] = {FIXED :MAX([Date])}

THEN [Paid Subs]

END

 

Source 2 - We use the #Customer number of most recent date. This data is stored on weekly basis and we filter on subscription category 'B'

 

if [Report Start Date] = {FIXED :MAX([Report Start Date])} THEN [Customers]

END

 

On the dashboard i need to sum both the sources.

 

I need to sum both the numbers as of today but the users can also go back in time and check the numbers.

 

This is the formula i am using

 

sum([ Direct  Subs])+SUM([Sheet1 (Source2)].[Active Numbers])

 

Questions  -

 

1) I cannot put a where condition on source 2 in this formula to just give  the most recent number for category 'B'

2) This should update with the date range "Today" or any date selection instead of today.

 

Let me know if you have any suggestions.

 

Attached is the workbook.

 

Thanks,

Vandana

4 件の回答
  1. 2018年2月14日 20:06

    Not Sure But Try This:

    {SUM(IF {MAX(Date)}=Date THEN [Paid Subs] END )}

     

    {SUM(IF {MAX(Report Start Date)}=Report Start Date THEN [Customers] END )}

     

    Then you can Aggregate.

0/9000

Hello everyone,

Have anyone know how to get the customer list who used a promotion. I need to export the customer list used a promotion.

Thank you very much!

 

#promotion

#customer

1 件の回答
  1. 2023年4月5日 10:29

    as I understand you want to export a 'list' of customers who used a specific promotion.

     

    with this kind when an 'order is created' you can store the promo information at a custom attribute of the 'order' level. example custom.appliedSpecificPromo

    and using this as a query condition when generating an export/report  file

    example

    orders = OrderMgr.queryOrders('(status = {0} OR status = {1}) AND custom.appliedSpecificPromo = {2}', 'creationDate desc',

    Order.ORDER_STATUS_NEW,

    Order.ORDER_STATUS_OPEN,

    'tbd');

    from order, you can get the customer via order.customer

0/9000