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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
sbkrishblr
Frequent Visitor

stacked and line chart

Hi,

 

currently i am using two meausres in stacked y axis and one measure in line chart. and x axis is the time line.

 

every month, two measures A & B are stacked one above the other. and other measure C is line axis which plotted along the time line X axis.

 

we have a requirement to slice/filter the measure B for some categories within that. some how i can filter the measure B for any one category, but alwasy the measure A & measure C would remain C. the slicing and filter should be only for measure B.

 

But i need the measure B to show the groupings/slicing in it self.

 

Thanks,

Suresh K

 

 

 

1 ACCEPTED SOLUTION
v-sihou-msft
Employee
Employee

@sbkrishblr

 

In this scenario, you can fix the category filter within Measure A and Measure C formula. For example, your Measure A is calculating total on Column A, and you have a Category selection in a slicer, you can write your Measure A like:

 

Measure A = CALCULATE(SUM(Table[Column A]),ALL(Table[Category]))

Regards,

View solution in original post

1 REPLY 1
v-sihou-msft
Employee
Employee

@sbkrishblr

 

In this scenario, you can fix the category filter within Measure A and Measure C formula. For example, your Measure A is calculating total on Column A, and you have a Category selection in a slicer, you can write your Measure A like:

 

Measure A = CALCULATE(SUM(Table[Column A]),ALL(Table[Category]))

Regards,

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

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.