Skip to main content

#Reports & Dashboards111 personnes en discutent

Hi,  I need to create a specific report that should show:  The number of logins to the system in the last 30 days by users belonging to public groups, grouped by public groups.    For example:  User_1 is member of Group_1 and has logged in 10 times, User_2 is member of Group_1 and Group_2 and has logged in 5 times. In the report, I'd like to see:    Group_1:      User_1: 10      User_2: 5  Group_2:      User_2: 5    Getting this data is easy using SOQL, but I have no idea how to do it using reports.   Please help me ;)     @Reports & Dashboards 

3 réponses
0/9000

I'm trying to limit a report output to show only records within a specified date range using the Order Expected Date field.  There doesn't seem to be a filter option where I can select "between".  Can anyone advise the correct way for me to do this? My dates are between 01/11/2026 and 31/01/2028 inclusive of each  

 

 

On SalesForce report limit records to only those within a specific date range

 

 

 

#Reports & Dashboards

2 réponses
  1. 25 août, 08:31

    Hello @Donna McKell

     

    You can create two separate filters on the Order Expected Date field and combine them using Filter Logic. 

     

    - Open your report in the Edit mode and go to the Filters pane. 

    - Add the first filter for your start date: 

       Field: Order Expected Date 

       Operator: greater or equal (which handles the "inclusive of each" requirement) 

       Value: 01/11/2026 

    - Add the second filter for your end date: 

       Field: Order Expected Date 

       Operator: less or equal (inclusive of the end date) 

       Value: 31/01/2028 

    - Click Add Filter Logic (underneath the filters list). 

    - Enter the logic combining both filter numbers with an AND operator: 

      Example: 1 AND 2 

    - Click Apply, then Save and Run your report.

0/9000

Hi all.  Hoping someone has a good trick for this; I've exhausted all the suggestions I can find on it.  Stacked bar chart component is sorted by a bucketed field.  I don't really care whether it's 1 to 9 or vice versa but it's randomly out of order for stages in between. I've tried renaming both the stages and the buckets with 1, 2 or 01., 02. etc but it still won't behave.  I know this has been a weird bug for a while but wondering if anyone cracked it.  I even tried a sort order formula field to force it but no luck.   

 

New finding: It has something to do with adding the secondary measure.  You add your component, select the chart type, set the axis = Legend/chart bar stacks are fine.  As soon as you click + measure

(even before selecting which one), the legend order changes.  Odd behaviour = how do we circumvent this?  

Forcing sort order of Dashboard component legend

 

 

 

Please see screen shot - why won't #5 behave?  Thanks.  

image.png

 

#Reports & Dashboards

2 réponses
0/9000

I would like to see how the average Stage Duration has changed over time (ex. today vs. 30, 60, 90 days ago) for open opportunities.  But I am having trouble finding the correct report type.  Have tried using Opportunity History and Opportunity Trends report type.  Opportunity Trends seems to only report the current Stage Duration and not historical (like it does with some other opportunity fields). 

 

Group Columns: Snapshot comparison date 

Group Rows: Stage 

 

Data would show average of stage duration for open opportunities in that stage and on that date.  Not sure if there is an out-of-the box solution for this type of report. 

 

#Reports & Dashboards

2 réponses
  1. 3 sept., 16:07

    You are on the right track - what you sketched IS the pattern, and the feature is Reporting Snapshots (Setup, Reporting Snapshots). Stage Duration is a live days-in-current-stage value that Salesforce does not historize, which is why Opportunity Trends only ever shows today's number. Snapshots let you capture it on a schedule and trend it yourself: 

     

    1. Source report: a tabular or summary report of open opportunities with Stage and Stage Duration, filtered to open. 

    2. Target custom object: create one with fields mirroring the columns you want to keep, plus a Snapshot Date field. 

    3. Reporting Snapshot: map the report columns to the custom object fields and schedule it daily or weekly. Each run writes point-in-time rows stamped with the run date. 

    4. Trend report: build it on the custom object - Group Columns by Snapshot Date, Group Rows by Stage, summarize Average of Stage Duration. Exactly the matrix you described. 

     

    Two caveats: snapshots only capture going forward (no backfill for dates before you start), and each run loads up to 2,000 rows, so keep the source filtered to open opps. Historical Trending is the other option but it is limited to a few fixed fields and about 3 months and does not cover Stage Duration well, so Snapshots are the right tool here. 

     

    if this helps, please mark it as the Best Answer so it helps the next person - thanks 🙂

0/9000

🎉 Big shoutout to our incredible Forum Ambassador, @Smitha Thomas for an awesome deep dive on "Make a Feild Avalible as a Dashboard Filter!📘 Check out the article here >> https://help.salesforce.com/s/articleView?id=005408536&type=1 

 

🔍 Found it helpful? Have thoughts to share?

 Let us know by clicking the "Yes" or "No"  button at the bottom of the article—your feedback helps us improve!🎉 Big shoutout to our incredible Forum Ambassador, for an awesome deep dive on> 🔍 Found it helpful?" style="display: block;" /> #Reports & Dashboards

 

 

1 commentaire
0/9000
2 réponses
  1. 2 sept., 14:11
    1. On the Reports tab, click New Folder.
    2. Name the folder. The folder name must be unique across all report and dashboard folders.
    3. Click Save.

     

    On the Reports tab, click New Folder.Name the folder. The folder name must be unique across all report and dashboard folders.Click Save.

     

     

0/9000

I have a dashboard where users can adjust their "viewing as" to see data for their direct reports (all reports filter to see MY XYZ). I have one user that is unable to see the "change" option at all in the upper left of their dash. Any ideas about the cause? One user unable to change view as on dashboard

 

 

 

 

#Salesforce Admin  #Reports & Dashboards

4 réponses
  1. 2 sept., 11:53

    Hi @Courtney Smith

     

     I’d first check the “View My Team’s Dashboards” permission. Without it, the Change option for “Viewing As” may not be available. Also verify that the dashboard is configured to Let dashboard viewers choose whom they view the dashboard as .  

     

    Thank You.

0/9000

When exporting a report for the first time since login. A new tab opens for verification (passkey) once approved the report downloads, however the tab just stays open. Is there anything I can do to prevent this? Or is this an issue? 

 

#Issues  #Reports & Dashboards

1 réponse
  1. 2 sept., 10:06

    Hi Fletcher, this is the new step-up authentication Salesforce is rolling out for report exports and prints, so the prompt itself is expected, not something in your setup. The first export after login triggers identity verification, then you stay verified for about two hours, so users hit it once per session rather than on every export. 

     

    On the tab not closing: that verification window is the browser passkey flow, and Salesforce does not auto-close it after the download finishes. There is no admin setting to make it close on its own, it is a cosmetic gap on their side, so there is nothing to prevent it other than closing the tab manually. If it is disruptive for your users, it is worth logging a Salesforce case so it gets tracked as a known issue. 

     

    if this helps, please mark it as the Best Answer so it helps the next person, thanks 🙂

0/9000

I have a few Salesforce reports that are no longer being used and have never been run. I tried to bulk delete them using Sales Inspector. Some of the reports were deleted successfully, but a few failed with the following error:

DELETE_FAILED: cannot delete a report referenced by one or more dashboard components.

 

What is the recommended way to resolve this issue and delete these unused reports?

Also, is there a way to identify all dashboard components that reference a particular report before attempting to delete it? 

 

#Salesforce Developer  #Salesforce Admin  #Trailhead  #TrailblazerCommunity  #Reports & Dashboards  #AwesomeAdmins  #Agentblazer

3 réponses
  1. 1 sept., 22:55

    Build this custom report type is the easiest way.  

    Find Old Or Inactive Reports And Dashboards To Delete | Salesforce Help

     

     

    Then add a filter on report name and you can easily find which dashboard(s) are referencing the report you want to delete.  

     

    If you are still getting the error, then the report is likely stored in a private folder, so follow this guide: 

    Locate Reports and Dashboards Stored within Personal or Private Folders in Salesforce | Salesforce Help

0/9000
Erica Lloyd (SOIL) a posé une question dans #Salesforce Admin

I have a fellow System Admin who is able to create Report Subscriptions, but can't modify them, even subscriptions he created himself. He is just trying to modify the day and time that the reports are sent, but gets an error saying, "Subscription Unsuccessful. We couldn't set up your subscription. Try subscribing again. If you still can't subscribe, ask your Salesforce admin for help." He and I both have the same role and profile so I'm unclear why this is happening to him. 

 

#Salesforce Admin  #Reports & Dashboards

6 réponses
  1. 31 août, 12:21

    Hi folks, 

     

    I think it was a problem with Scheduled Jobs - I'm not sure what got weird in there, but I deleted the relevant ones and after 24 hours he isn't receiving the error anymore. 

     

    Thanks, 

    Erica

0/9000