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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
FrankWoody
Helper I
Helper I

Slice Measure problem I think

Good evening !!
First I have a table with following statuses
tABLE. 1.png
I need to count the amount of low and medium per country.

_Count. low = CALCULATE(COUNT(financials[Discount Band]),financials[Discount Band]="Low")
_Count. Medium = CALCULATE(COUNT(financials[Discount Band]),financials[Discount Band]="Medium")

 After that I need to count the amount of Lol that has Manufacturing Price]>5:

_Count. low and Manufacturing price >5 = CALCULATE(COUNT(financials[Discount Band]),financials[Discount Band]="Low", financials[Manufacturing Price]>5)
_Count. Medium and Manufacturing price >5 = CALCULATE(COUNT(financials[Discount Band]),financials[Discount Band]="Medium", financials[Manufacturing Price]>5)

Then build an array with the data:

FrankWoody_0-1663203543533.png
the problem is that I would like to have a column with Status Qty. Low and Qty. Medium and that I could have a filter to filter only the ones that are > 5 of each. 

FrankWoody_1-1663203724571.png

Download  

 

 

1 REPLY 1
v-mengzhu-msft
Community Support
Community Support

Hi @FrankWoody ,

 

Not quite sure about your question, what kind of desired effect do you want to achieve? Like this?

vmengzhumsft_0-1663318664924.png

If I misunderstand your meanings, please tell me in time. Thanks in advance~

 

Best regards,

Community Support Team Selina zhu

If this post helps, then please consider Accept it as the solution to help the 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! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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