Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
Anonymous
Not applicable

How to add labels (quantity of records) to a graph showing average days

Hello,

 

I am trying to make a graph that shows on the y-axis the average amount of days (ex. average days it takes to validate an authorization) per month (x-axis). This graph will show an evolution of the average amount of days it takes to treat a dossier in a column chart.

 

However, I wanted to add a label that shows how many records/dossiers we get every month to this graph. I haven't found a way of doing this, because a label normally shows the same information that can be found on the graph (namely the average days of treatment)

 

Is there a way to add the label (quantity) to this graph? 

 

 

2 REPLIES 2
v-yangliu-msft
Community Support
Community Support

Hi  @Anonymous  ,

According to your description, I created some data to show:

v-yangliu-msft_0-1606123095179.png

1. Create calculated column.

 

Month = MONTH('Table'[Date])

 

2. Create measure.

 

day_time_measure =
CALCULATE(COUNT('Table'[Date]),FILTER('Table','Table'[Month]=MAX('Table'[Month])))

amount_time =
CALCULATE(SUM('Table'[amount]),FILTER('Table','Table'[Month]=MAX('Table'[Month])))

 

3. Put month into axis, day_ time_ Put measure into value

v-yangliu-msft_1-1606123095184.png

 

After that, there are two ways to present them

1. Add the amount_ Put time in the card diagram

how to add1.jpg

2. Add the amount_ Put time in the value of column chart

how to add2.jpg

 You can downloaded PBIX file from here.

 

Best Regards,

Liu Yang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

amitchandak
Super User
Super User

@Anonymous , Not very clear, You can add a tooltip. I doubt you can label.

See scatter visual can fit in your need: https://docs.microsoft.com/en-us/power-bi/visuals/power-bi-visualization-scatter

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

Find out what's new and trending in the Fabric Community.