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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
alevandenes
Helper IV
Helper IV

UCL/LCL with filter

Good morning,

 

I have quite an interesting challenge that me and my colleagues cant solve. I hope someone here can help me.

I would like to add Upper Control Limit, Lower Control Limit and average line to a column chart.  The goal is to monitor specific issues on product and check when they are out of control.

 

I have managed to obtain what i need by creating a calculated table and mentioning already in there the filters i want to apply - see below:

 

Table 7 = SUMMARIZE('Date',[YearMonthnumber], "units", [units produced], "problems with product", CALCULATE(distinctCOUNT(problems with product[COMPLAINT_NUMBER]), problem with product[COMPLAINT_PHASE]="Closed", 'Countries to consider'[considered in:]="Yes", 'ModelstoInclude'[Consider]="Yes"))
 
 
alevandenes_0-1693397221373.png

 

 

However, this is not good enough for us because we want to be able to filter the graph by problem type. However, i am not able to specify the problem type already when i am creating the table cause it could be hundreds of different things. 
 
is there anyone that knows how i can filter by problem type my graph?
 
Kind regards
3 REPLIES 3
v-shex-msft
Community Support
Community Support

HI @alevandenes,

AFAIK, current power bi does not support create dynamic calculated column/table based on filter effects, they do not work on the same level and you can't use the child to affect its parent.

For this scenario, you may need to add 'problem type' as category to the summarize table with different results based on the 'problem type' group. Then you use filter on the result table based on problem type.

Notice: the data level of power bi(from parent to child level)

Database(external) -> query table(query, custom function, query parameters) -> data model table(table, calculate column/table) -> data view with virtual tables(measure, visual, filter, slicer)

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

Hi, thanks i understand. Is there maybe another way I can obtain this that it is not creating a table? this is the solution i found, but i am actually okay with changing everything completely if i can obtain what i need.

HI @alevandenes,

Perhaps you can try to create the basic summary table with all value result, then you can create measure expression to extract the total value and calculate with the percent of filter selection and total items.

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.