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
fabiocovre
Advocate I
Advocate I

Measure filtering amount above value

Hi,

 

I have the following table as example. I'd like to create a measure to show only the product who sold more than 5 in the filtered period.

 

ProductMonthNo. Events
Ajan/181
Ajan/182
Ajan/180
Afeb/184
Afeb/182
Afeb/181
Afeb/181
Amar/182
Amar/181
Bjan/183
Bjan/182
Bjan/181
Bfeb/180
Bfeb/182
Bfeb/181
Bfeb/182
Bfeb/180
Bmar/186

 

If I filter all the months, I'd like to see:

 

Product             Sum Events

A14
B17

 

If I filter only January, I'd like to see:

 

     Product         Sum Events

B6

 

If I filter only February, I'd like to see:

 

Product             Sum Events

A8
B5

 

If I filter March, I'd like to see:

 

Product             Sum Events

B6

 

 

Thank you in advance!

 

Fabio

1 ACCEPTED SOLUTION
Ashish_Mathur
Super User
Super User

Hi,

 

You may download my PBI file from here.

 

Hope this helps.

 

Untitled.png


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

View solution in original post

3 REPLIES 3
v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @fabiocovre,

 

The solution of Ashish_Mathur should meet your requirement.

 

If you have solved the problem, please always accept the replies making sense as solution to your question so that people who may have the same question can get the solution directly.

 

If you still need help, please describe your logic in more details.

 

Best  Regards,

Cherry

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Ashish_Mathur
Super User
Super User

Hi,

 

You may download my PBI file from here.

 

Hope this helps.

 

Untitled.png


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
smpa01
Super User
Super User

@fabiocovreyou can set up a table and chiclet slicers for filtering as following

 

MasterMaster

When you do the filtering on chiclet slicers, it would exactly do the filtering as you imagined

 

FilteringFiltering

The file is here -  https://drive.google.com/open?id=1NjY48LC3tNx3O7oZj818OMWgCN6CMrkVT

Did I answer your question? Mark my post as a solution!
Proud to be a Super User!
My custom visualization projects
Plotting Live Sound: Viz1
Beautiful News:Viz1, Viz2, Viz3
Visual Capitalist: Working Hrs

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.