This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
Hi,
Need to create a table from existing table by group by function with min value doesn't include zero on that. I have use the below dax for that
Regards,
Solved! Go to Solution.
Hey @KrithikaBaskar ,
this DAX statements creates a table without zeros
Min Table =
FILTER(
ADDCOLUMNS(
SUMMARIZE(
'Table'
, 'Table'[Country]
, 'Table'[Category]
, 'Table'[Colour]
)
, "Min Price", CALCULATE( MIN( 'Table'[Price per kg] ) )
)
, [Min Price] <> 0
)
Hopefully, this is what you are looking for. If not provide sample data and the expected result.
Regards,
Tom
Hey @KrithikaBaskar
use this DAX statement to create the table:
Min Table =
ADDCOLUMNS(
SUMMARIZE(
'Table'
, 'Table'[Country]
, 'Table'[Category]
, 'Table'[Colour]
)
, "Min Price", CALCULATE( MIN( 'Table'[Price per kg] ) )
)
This is how my base table looks:
And this is how the table looks like that is created from the above DAX statement:
Hopefully, this is providing what you are looking for.
Regards,
Tom
Hi Tom,
Thank you for the reply.. I am expecting one more condition in this dax like removing zero values also
Thanks,
Krithika
Hey @KrithikaBaskar ,
this DAX statements creates a table without zeros
Min Table =
FILTER(
ADDCOLUMNS(
SUMMARIZE(
'Table'
, 'Table'[Country]
, 'Table'[Category]
, 'Table'[Colour]
)
, "Min Price", CALCULATE( MIN( 'Table'[Price per kg] ) )
)
, [Min Price] <> 0
)
Hopefully, this is what you are looking for. If not provide sample data and the expected result.
Regards,
Tom
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 35 | |
| 32 | |
| 26 | |
| 21 | |
| 18 |
| User | Count |
|---|---|
| 68 | |
| 37 | |
| 32 | |
| 25 | |
| 23 |