The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Dear Community,
This is my 3 month sales data.
And I would like to create another card to show the lowest value. Which is month March with value '2400'.
I have apply MINX function,
$ Min Month Sales = MINX( ALLSELECTED( 'Calendar' ), [$ Sales] )
But its not return the expected value.
Appreciate any help provided!
Here is the pbix: https://drive.google.com/file/d/1QikkvU7dhNQ2jgnMsEstTzLwpJzRI17a/view?usp=sharing
Thank you!
Solved! Go to Solution.
@NickProp28 , Based on what I got, Try like
$ Min Month Sales = MINX( values( 'Calendar'[Month] ), [$ Sales] )
, assuming $sales is a measure else use
calculate(sum(Table[$ Sales] ))
Hi @NickProp28
Can you try this? It will take the min value and will keep it also when you select month from the slicer.
https://www.dropbox.com/s/yuqq95ggx9c5ims/MINX%20issues%20%28allure-analytics.com%29.pbix?dl=0
Did I answer your question? Please Like and Mark my post as a solution if it solves your issue. Thanks.
Appreciate your Kudos !!!
Proud to be a Super User!
Hello @NickProp28
You could try $ Min Month Sales =
MINX( ALLSELECTED( 'Calendar'[Month] ), [$ Sales] )
This will give you the correct min monthly value.
Regards
Kumail Raza
Hi,
If your expected result is 2400, please try the below measure.
@NickProp28 , Based on what I got, Try like
$ Min Month Sales = MINX( values( 'Calendar'[Month] ), [$ Sales] )
, assuming $sales is a measure else use
calculate(sum(Table[$ Sales] ))