cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Reply
Anonymous
Not applicable

Create a calculation based on the result of a page filter

Hi everyone, 

I have a column 'Letters' includes letters from A to ..
I am applying a page filter, that should filter the 'Letters' to be from C to X .. 
Whenver I make any calculation to take MIN(Letters) , I always get the A .. 
Is there a way to include the page filter in the calculation , to make MIN(Letters) = C ?

Here's the pbix file: https://drive.google.com/file/d/1C8aPCQPa6l5AKwEwAiW1HShbTVmK85_e/view?usp=sharing 

Thanks in advance 🙂

1 ACCEPTED SOLUTION
mahoneypat
Microsoft
Microsoft

I looked at your file.  The reason is that you used MIN in a calculated column, which do not respond to slicers.  You need to make a measure like this, and use it in your card.

 

Min Letter Measure = MIN('Table'[Letter])
 
Regards,
Pat




Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


View solution in original post

3 REPLIES 3
mahoneypat
Microsoft
Microsoft

I looked at your file.  The reason is that you used MIN in a calculated column, which do not respond to slicers.  You need to make a measure like this, and use it in your card.

 

Min Letter Measure = MIN('Table'[Letter])
 
Regards,
Pat




Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


mahoneypat
Microsoft
Microsoft

Please explain your model more.  For example, how are you filtering from C to X?  Does that table have an index column and you are using those number to filter it?  If you make a table visual, do you confirm that the A row is filtered out by the page filter?

Regards,

Pat





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


Anonymous
Not applicable

Helpful resources

Announcements
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors