Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I need assistance in creating a calculated column that will show the minimum value (Location Number) based on multiple criteria (Category Number, Country, Location Number). I am hoping I can also see the minimum numerical value when a row has no value.
So for each Category/Country combo, the calculated column returns back the minimum Location Number, I need it to provide the minimum location number in the event the Location Number is blank.
Solved! Go to Solution.
Thank you very much, the dax for the column works in your PBIX, but when I try to employ what you wrote to my work pbix, the calculated column partially works. Confusing since I see that it works in what you provided.
I ended up using DAX like this below in my work pbix and I get the same result in your dax and works completely in my work pbix.
Hi, I am not sure if I understood you question correctly, but please check the below picture and the attached pbix file.
Expected result CC =
CALCULATE (
MIN ( Data[Location Number] ),
INDEX (
1,
FILTER (
SUMMARIZE ( Data, Data[Category Number], Data[Country], Data[Location Number] ),
Data[Location Number] <> BLANK ()
),
ORDERBY ( Data[Location Number], ASC ),
DEFAULT,
PARTITIONBY ( Data[Category Number], Data[Country] )
)
)
Thank you very much, the dax for the column works in your PBIX, but when I try to employ what you wrote to my work pbix, the calculated column partially works. Confusing since I see that it works in what you provided.
I ended up using DAX like this below in my work pbix and I get the same result in your dax and works completely in my work pbix.
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
23 | |
7 | |
7 | |
6 | |
6 |
User | Count |
---|---|
27 | |
12 | |
10 | |
9 | |
6 |