Skip to main content

#CRM Analytics6 人正在讨论

I have several dashboards based on region. I would like to combine them to be one dashboard with the ability to filter by region, object, etc. 

 

I haven't found a way to do this as of yet. I'm in analtyics studio and I'm not sure how to connect the dashboards. 

 

Help please. 

 

#CRM Analytics  #Tableau  #Dataset Recipe

1 个回答
  1. 8月19日 14:49

    In CRM Analytics you do not actually 'connect' separate dashboards, the pattern is to build ONE dashboard and use Global Filters to slice it by region/object/etc. How you get there depends on whether your regional dashboards sit on the same dataset or different ones: 

     

    If they are all on the same dataset (the easy case): 

    Create a single new dashboard on that dataset, add the charts/widgets you want, then add Global Filters (the filter panel in the dashboard editor) on Region, Object, and any other fields. Widgets built on the same dataset facet together automatically, so one Region selection filters everything at once. That gives you the 'one global dashboard, filter by region' behaviour you are describing. 

     

    If each region is a separate dataset: 

    You first need them in one dataset, otherwise a single Region filter has nothing common to filter on. Use a Recipe (Data Prep) to UNION the regional datasets into one combined dataset, and if a 'Region' column is not already on each, add it in the recipe so every row is tagged with its region. Then build your single dashboard on that combined dataset and add the Global Filters as above. Since you tagged Dataset Recipe, this is likely your path. 

     

    A couple of pointers: 

    - Global Filters live in the dashboard's filter panel and apply to every widget bound to that dataset, pin them so they persist. 

    - If you keep widgets from more than one dataset in the same dashboard they will not auto-facet, you connect them with bindings, or cleaner, unify into one dataset via the recipe so faceting just works. 

     

    Net: do not try to link the existing dashboards, rebuild as one dashboard on a single (recipe-combined, if needed) dataset, then Global Filters give you the region/object slicing. 

     

    If this helps, please mark it as the Best Answer so it helps the next person. Thanks :)

0/9000

It does not seem to be possible to take the minimum or maximum of a date using the aggregation feature of a recipe.

 

Second question. Filtered aggregates are also not possible it would appear. If I want to know the count of all activities, the count of all emails, and the count of all calls (with email and call being the two options for activity type), it doesn't appear that a recipe can do all three together. It can either do the total, or separate emails and calls by adding a column group, but not all three. (I have found a workaround by creating a transform to add the two together but that isn't the point here)

 

Am I missing something or are these really not possible? Basic features of SQL.

3 个回答
0/9000

No native way to export the Columns tab from a Recipe Dataset Output node and you WANT THE SOURCE? Here's a console script that does it.

 

 

This downlaods a csv with the node name as the file name, all the columns (Name,API Name, Type,

and Source!!!) and all field rows.  

 

I'm a Business/Data Systems Analyst,

not

a developer. I hit a wall building a field-level data dictionary across too many CRMA recipes: there's no export button on the Recipe Output node's Columns tab, and the old trick of highlighting the table, finding the sweet spot to drag it into Excel doesn't seem to work anymore (and was frustrating and time consuming anyway even if it does). 

 

Querying the dataset via Workbench or the API gets you Name, API Name, and Type easily. It does not get you Source

(which Salesforce object a column originated from), at least not without manually tracing the recipe's own JSON node graph, join by join. If you actually need that Source column the way it displays on screen, querying alone won't get you there quickly. This makes it difficult to audit for duplicate fields in more complex recipes with loops. I mean, going to the output node and searching by field name and working backwards one by one .... UGH.  

 

So I used Claude AI to build a browser console script instead, worked through screenshot by screenshot, since I don't code. A few things that helped it actually go somewhere if anyone else wants to use AI to solve similar problems: 

 

  • Describing what I used to be able to do, not what I thought the tool should be called: "You could drag and drop it all into Excel if all highlighted and you you found the exact “sweet spot” on the screen to do so, but that must have been prevented or I can’t find the sweet spot anymore."
  • Sending screenshots of DevTools and error messages instead of typing out what I thought they meant
  • Saying flatly when something didn't work or I didn't understand a step, no guessing
  • Giving real scale before automating anything further: "We are at about XXX datasets across XX recipes and that is likely to grow", that's what got me steered away from clicking through the UI programmatically and toward a safer read-only approach
  • Asking directly: "Are there any security risks to doing this?" before trusting it enough to run, test, refine, and share

End result:

paste into DevTools Console while on a Recipe Output node's Columns tab, no coding needed. It reads the visible table and downloads a CSV named after the output node. Read-only, doesn't touch the org, doesn't call any API, just reads what's already rendered on your screen. Still manual, but much quicker.  

 

You do need to be on the Output Node with the Columns Preview selected (and preview loaded). 

 

No native way to export the Columns tab from a Recipe Dataset Output node and you WANT THE SOURCE? Here's a console script that does it.

 

 

 

#CRMAnalytics #Data Management #IdeaExchange

2 条评论
  1. 7月11日 09:03

    @Melissa Loudon Please follow the below steps:

     

    •  Open your CRM Analytics Recipe.
    •  Navigate to the Dataset Output node. 
    •  Open the Columns tab. 
    •  Wait until the preview has fully loaded. 
    •  Press F12 (Developer Tools). 
    •  Open the Console tab. 
    •  Paste the script below. 
    •  Press Enter
    •  A CSV file will automatically download.

    Below is the script: 

     

    (() => { 

        // Get output node name 

        let nodeName = "Recipe_Output"; 

     

        const title = 

            document.querySelector('[data-testid="recipe-node-title"]') || 

            document.querySelector('.recipe-node-title') || 

            document.querySelector('h1,h2,h3'); 

     

        if (title) { 

            nodeName = title.textContent.trim().replace(/[\\/:*?"<>|]/g, "_"); 

        } 

     

        // Find table 

        const table = document.querySelector("table"); 

     

        if (!table) { 

            alert("Columns table not found. Make sure the Output Node > Columns tab is open and fully loaded."); 

            return; 

        } 

     

        const rows = [...table.querySelectorAll("tr")]; 

     

        const csv = rows.map(row => { 

            return [...row.querySelectorAll("th,td")] 

                .map(cell => 

                    `"${cell.innerText.replace(/"/g, '""').trim()}"` 

                ) 

                .join(","); 

        }).join("\n"); 

     

        const blob = new Blob([csv], { 

            type: "text/csv;charset=utf-8;" 

        }); 

     

        const link = document.createElement("a"); 

        link.href = URL.createObjectURL(blob); 

        link.download = `${nodeName}.csv`; 

        document.body.appendChild(link); 

        link.click(); 

        document.body.removeChild(link); 

     

        console.log(`Downloaded ${nodeName}.csv`); 

    })();

0/9000

Are there tools available to help create a data dictionary from CRM Analytics. I am able to find plenty of resources on data dictionary tools for Salesforce proper objects, but nothing for CRM Analytics specifically. Any guidance would be greatly appreciated!

4 个回答
  1. 2023年10月25日 11:42

    Dear @Melissa Loudon

     

    I haven't hear about a dictionary.

    I did do a project where we used the Mohans Plugin to extract a lot data from the CRMA solution.

    It does require some installing etc. and then pulling out CRMA data. 

    I cannot recall if it can be automated to have a representative up2date dictionary.

    Nonetheless, it could get you a long way.

     

    Here is how to come about it.

    https://www.salesforceblogger.com/2020/11/17/mohans-sfdx-plugin-for-analytics/

     

    (and following for interst)

0/9000

@Bharadwaj Kopparthi

 

I need to convert the text boxes in my dashboards to French.  I found only 1 training video by Bharadwaj on this topic. Are there any additional help on this topic?

#CRM Analytics

2 个回答
  1. 6月18日 14:47

    Hi @krishna vankayala,

     

    If you're specifically using CRM Analytics, I don't think text boxes automatically respect the user's Salesforce language setting. 

     

    One approach is to store the translated labels in a dataset and display them dynamically based on a language value, instead of using static text boxes.  

    It takes a bit more setup, but it's easier to maintain than creating separate dashboards for each language. 

     

    I'd also be interested if anyone has implemented this using the user's locale automatically rather than a manual language selection.

0/9000

With the rollout of SLDS 2 and Salesforce Cosmos theme, the SFDC UI has received a nice visual refresh. We would like to keep the CRM Analytics experience very close to the SFDC experience with some branding customization and want to know specifically if there are any enhancements in the pipeline for visual features seen in the Cosmos theme and other capabilities such as:

  • Font changes
  • Support for circular (not squarcle) buttons
  • Animated buttons/toggles upon hover
  • Custom theme set support (custom color presets similar the current Color Safe, Bluegrass, Watermelon, etc.)
3 个回答
  1. 4月13日 13:27

    Hi @Bond Tran

    ,  

    There’s no official Salesforce commitment  that CRM Analytics will get extra theming controls like custom fonts, circular buttons, hover animations, or custom preset theme packs. What is confirmed is that Salesforce Cosmos/SLDS 2 brings broader Lightning Experience branding options, but availability varies by product, and Salesforce says some products built on other platforms may continue using their existing UI.

0/9000

🔔【重要】Trailhead Academy クラスの提供終了と最終日程のお知らせ

 

Salesforce認定講師による以下の2コースにつきまして、記載の日程をもちまして提供を終了させていただくことになりました。

長きにわたりご愛顧いただき、心より感謝申し上げます。

ご受講を検討中のお客様は、ぜひこの最終期限までのご受講をお願いいたします。

 

 

@* カスタマーサクセス日本 *

 

#CRM Analytics

0/9000

Hi all,

 

I just wanted to verify my findings and make sure there weren't any more updated solutions. There is an ask to download the entire CRM Analytics dashboard to a CSV file. From what I can tell you can only download the entire dashboard as an image, but can download individual widgets to CSV/excel. 

 

I also found some links to apps and a few ways to export the recipe dataset to a CSV. 

https://www.youtube.com/watch?v=Wmo43ZONLaw 

https://www.salesforceblogger.com/2020/08/19/export-your-einstein-analytics-datasets/

https://www.linkedin.com/pulse/exporting-salesforce-crm-analytics-recipe-output-csv-files-paul-liu/

 

Is my discovery and understanding correct or is there anyway to get the CSV of the dashboard or dataset in a simple way I am missing?

 

Thanks,

 

Brooke

5 个回答
0/9000

Hello, 

Could you please assist me in building a POC where: 

The dataset A contains multiple date columns such as 

Case Created Date 

Opp Created Date 

App Created Date 

I have Created Calendar dataset(Dataset B) by uploading CSV file which has only date field for a month. 

 

The final goal is to use the Calendar date field(Dataset B)  as a date filter that returns all events from Dataset A (Cases, Opps, Apps) that occurred on the selected date. 

 

In detail: 

Once the two datasets are joined in a Lens, I want to use the date from the Calendar dataset(Dataset B) as a filter. 

When the user selects a specific date from the Calendar dataset(Dataset B), It should return: 

all Cases created on that date 

all Opps created on that date 

all Apps created on that date 

In short: 

Measures come from the Dataset A, but the filter should come from the Dataset B— and the results should only show cases,opps,apps that happened on the selected date. 

 

@* CRM Analytics (fka Tableau CRM) * 

2 个回答
  1. 3月25日 21:02

    Don't join the two datasets in the Lens at all. Instead, do it in a Dashboard with bindings (this gives you full control):

    1. Create your Lens (or multiple steps) only on Dataset A.
    2. Add a Date Widget (or List Selector) connected to your Calendar Dataset B — this will be your single date picker.
    3. In the SAQL query of your main step(s) on Dataset A, use a binding to apply the selected calendar date to each of your date fields using OR logic.

    This way the filter comes from Dataset B, but all measures/counts stay from Dataset A.

    If you prefer a pure Lens approach (no dashboard), you can do a full outer blend on a dummy common field and then use similar bindings, but the dashboard method is much cleaner and more performant.

0/9000

I am trying to deploy CRMA assets to SIT Org using Azure DevOPS pipeline & it fails everytime.

 

The issue is occurring only with xmd file and not other, After going though logs I found required xmd file is already added in delta package"

 

Not sure if I am missing something, Any help ?

 

Pipeline Log entries as below :

 

2024-03-20T10:07:07.4762503Z : Copying file force-app/main/default/wave/Retail_Payment_Preview.xmd from git to Delta_pkg

2024-03-20T10:07:18.8506575Z  Error Retail_Payment_Preview  An object 'Retail_Payment_Preview' of type WaveXmd was named in package.xml, but was not found in zipped directory

0/9000