Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Hi All,
I need your help on, how to get details in a table when we click on Line chart.
I am generating a line chart graph for the resource count monthly using the start date and End date, and when we click on the data marker it needs to show their details in the table
resource table
id, start date, end date, resouce_name
1,1/1/2022,1/1/2023, Ram
2,1/1/2022,1/8/2023, Riya
Number of Resources Present =
VAR EndDatePerVisual = MAX('Calendar'[Date])
VAR StartDatePerVisual = Min('Calendar'[Date])
VAR RESULT =
CALCULATE(
[Number of Resource],--(count dax to count no of resources)
REMOVEFILTERS('Calendar'),
resourcetable[Start_Date] <= EndDatePerVisual,
resourcetable[Ending_Date] >= StartDatePerVisual
||
ISBLANK( resourcetable[Ending_Date])
)
RETURN
RESULT
line chart is working fine but not able to fetch resource details.
Thanks in advance.
Solved! Go to Solution.
Hi @Puja_Kumari25 ,
Tooltips are an elegant way of providing more contextual information and detail to data points on a visual.
You can add the cost to Tooltips:
Output:
For more details, please refer to:
Customizing tooltips in Power BI Desktop - Power BI | Microsoft Learn
Best Regards,
Jianbo Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Puja_Kumari25 ,
Tooltips are an elegant way of providing more contextual information and detail to data points on a visual.
You can add the cost to Tooltips:
Output:
For more details, please refer to:
Customizing tooltips in Power BI Desktop - Power BI | Microsoft Learn
Best Regards,
Jianbo Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thank you for the help
https://drive.google.com/drive/folders/1qc2XVJjqfiyh7L_HFytYlFVTBsQEkkJX?usp=sharing
please find the link for the sample pbix file
The model in the file is not the same as the code depicts. Your code above refers to some Calendar table which is not present in the file. Why have you removed it from the sample file? This does not make things easier because now I don't know what the relationships are between tables...
Please supply sample data to play with. You can paste a link to a file on a shared drive (OneDrive, Google...). Don't forget to grant public access rights to the file.
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the September 2025 Power BI update to learn about new features.
User | Count |
---|---|
9 | |
8 | |
7 | |
4 | |
3 |