function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
alsinan nazimalsinan nazim 

How to display Dashboards in Lightning Components

Hi,

I want to display SF dashboards in a custom Lightning component. Is there a way to get the dashboard directly or can we get the report data in lightning component and then build a dashboard using the same.?
Any help?
Best Answer chosen by alsinan nazim
SandhyaSandhya (Salesforce Developers) 
Hi,

Please refer below trailhead module and try to do the challenges so that you will be able to understand 
How to display Dashboards in Lightning Components.

https://trailhead.salesforce.com/en/lex_implementation_reports_dashboards/lex_implementation_reports_dashboards_overview
 
https://trailhead.salesforce.com/en/lex_implementation_reports_dashboards/lex_implementation_reports_dashboards_visualizing_data
 
Hope this helps you!

If this helps you please mark it as solved.

Thanks and Regards
Sandhya

All Answers

SandhyaSandhya (Salesforce Developers) 
Hi,

Please refer below trailhead module and try to do the challenges so that you will be able to understand 
How to display Dashboards in Lightning Components.

https://trailhead.salesforce.com/en/lex_implementation_reports_dashboards/lex_implementation_reports_dashboards_overview
 
https://trailhead.salesforce.com/en/lex_implementation_reports_dashboards/lex_implementation_reports_dashboards_visualizing_data
 
Hope this helps you!

If this helps you please mark it as solved.

Thanks and Regards
Sandhya
This was selected as the best answer
alsinan nazimalsinan nazim
Thank you Sandhya for the reply. But I want to show the dashboards created in Lightning in a custom Lightning component. So I want to know how can we retrieve these dashboard or report data into lightning component (in a general way for all report types) and then to create a dashboard as same as in the LEX. Any help? P Please consider the environment before printing this e-mail -- SAVE PAPER! SAVE THE PLANET!
Sumit VidhateSumit Vidhate
Hi  Alsinan Nazim,

Have you came across any workaround fo the same?

I do have a same requirement, will you please help me to understand if there is any solution.

Thanks,
Sumit