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
Alex_0201
Post Partisan
Post Partisan

Displaying different values from the same column for one day

Hi everyone! A stupid question but how does one go about plotting several different values from one column vs a given corresponding date? 

 

data in querrydata in querry  data in visual tabledata in visual table

 

What it does now it sums up Planned Depth for the same date (both in case of 20.04.2021 and 22.04.2021). I'd like to avoid it and keep the original data format so I can also plot it using the line chart.

 

 

 

 

2 ACCEPTED SOLUTIONS

Hi @Alex_0201 ,

I am able to achieve this but with a workaround.

 

Instead of using the Value column in Value secution of Line chart also use it in the legend and make the summarization of the one in the value column to max.

 

Then hide the line by making the stroke width to 0.

Switch off the tooltips and enable the data labels.

 

The Same power bi report is present in the below link. Do check out

https://1drv.ms/u/s!Ahd9tZ6Q55jygSTRO1r4iC-wTsVP?e=VchwKP

 

The Below is the screenshot of the final output

Thejeswar_0-1618898120312.png

 

Mark it as a solution and give it a kudos if this helps!!!

 

View solution in original post

v-kelly-msft
Community Support
Community Support

Hi  @Alex_0201 ,

 

Create a column as below:

rank = RANKX(FILTER('Table','Table'[Data]=EARLIER('Table'[Data])),'Table'[VAlue],,ASC)

Then put the column in the legend of line chart and you will see:

v-kelly-msft_0-1618991018511.png

For June 4,2021,it has 2 values,and they are all shown in line chart.

For the related .pbix file,pls see attached.

 

Best Regards,
Kelly

Did I answer your question? Mark my post as a solution!

 

View solution in original post

6 REPLIES 6
v-kelly-msft
Community Support
Community Support

Hi  @Alex_0201 ,

 

Create a column as below:

rank = RANKX(FILTER('Table','Table'[Data]=EARLIER('Table'[Data])),'Table'[VAlue],,ASC)

Then put the column in the legend of line chart and you will see:

v-kelly-msft_0-1618991018511.png

For June 4,2021,it has 2 values,and they are all shown in line chart.

For the related .pbix file,pls see attached.

 

Best Regards,
Kelly

Did I answer your question? Mark my post as a solution!

 

Thejeswar
Resident Rockstar
Resident Rockstar

Hi @Alex_0201 ,

The Column will have a summarize property. Make it as Non-Summarize. This way you ca avoid the data from getting added together which is the default summarize option for a value. 

 

Then check if your line chart is as expected

\

Hi @Thejeswar, the Summarization is set to "Don't summarize" for the Planned Depth column. However, the line chart always aggregates and gives sum/avg/max/etc. for this column. How to make show only original data from the Planned Depth?

Hi @Alex_0201 ,

I am able to achieve this but with a workaround.

 

Instead of using the Value column in Value secution of Line chart also use it in the legend and make the summarization of the one in the value column to max.

 

Then hide the line by making the stroke width to 0.

Switch off the tooltips and enable the data labels.

 

The Same power bi report is present in the below link. Do check out

https://1drv.ms/u/s!Ahd9tZ6Q55jygSTRO1r4iC-wTsVP?e=VchwKP

 

The Below is the screenshot of the final output

Thejeswar_0-1618898120312.png

 

Mark it as a solution and give it a kudos if this helps!!!

 

amitchandak
Super User
Super User

@amitchandak thanks for quick reply! It solves the problem of showing a correct data in the table visual but not in a line chart (it still sums up values for the same day, like on the pic below for 20.04.2021)

:

3.PNG

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.