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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Blurbuh
New Member

Table with a norm

Hi there,

 

I am currently working on a productivity dashboard. I have received durations from workers, on how long certain tasks are taking. What i now want to do is, have all of these durations as a bar chart, i succeeded in that. But I would also like to have a line that shows the norm of the workers. I have a table for this, with multiple norms for certain tasks. But i only need one value from this colomn. So how can i select only one value from this colomn, to show this as a norm in my graph?

1 ACCEPTED SOLUTION
v-jianpeng-msft
Community Support
Community Support

Hi, @Blurbuh 

Based on your description, I created the following sample data:

vjianpengmsft_0-1714531004612.png

I have the following chart:

vjianpengmsft_1-1714531070439.png

I use the following DAX expression to select 450 in the norm column

standard line = CALCULATE(MAX('Table'[norms]),FILTER(ALL('Table'),'Table'[norms]=450)) 

Put it in the chart as follows:

vjianpengmsft_2-1714531348225.png

You can choose the minimum, maximum, or average value in this column. All you need to do is change the DAX expression above to:

standard lineMAX = CALCULATE(MAX('Table'[norms]),ALL('Table')) 

vjianpengmsft_3-1714531490215.png

I've provided the PBIX file used this time below.

 

 

 

How to Get Your Question Answered Quickly

If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .

Best Regards

Jianpeng Li

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

 

View solution in original post

1 REPLY 1
v-jianpeng-msft
Community Support
Community Support

Hi, @Blurbuh 

Based on your description, I created the following sample data:

vjianpengmsft_0-1714531004612.png

I have the following chart:

vjianpengmsft_1-1714531070439.png

I use the following DAX expression to select 450 in the norm column

standard line = CALCULATE(MAX('Table'[norms]),FILTER(ALL('Table'),'Table'[norms]=450)) 

Put it in the chart as follows:

vjianpengmsft_2-1714531348225.png

You can choose the minimum, maximum, or average value in this column. All you need to do is change the DAX expression above to:

standard lineMAX = CALCULATE(MAX('Table'[norms]),ALL('Table')) 

vjianpengmsft_3-1714531490215.png

I've provided the PBIX file used this time below.

 

 

 

How to Get Your Question Answered Quickly

If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .

Best Regards

Jianpeng Li

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

 

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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