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
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
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.