The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi there,
i am neu with Power BI and i want to apply Minx to find the minimum value for net sales except(0 or blank).
anyone can help me in this?
thanks in advance.
Solved! Go to Solution.
Hi,
I am not sure how your dataset looks like, but please check the attached file.
I hope the below attached file can provide some ideas on how to create a solution for your dataset.
Min sales measure: =
MINX (
FILTER ( Sales, Sales[Sales] <> 0 && Sales[Sales] <> BLANK () ),
[Sales total measure:]
)
Hi,
I am not sure how your dataset looks like, but please check the attached file.
I hope the below attached file can provide some ideas on how to create a solution for your dataset.
Min sales measure: =
MINX (
FILTER ( Sales, Sales[Sales] <> 0 && Sales[Sales] <> BLANK () ),
[Sales total measure:]
)
sorry sir just one question. If i want add minus values to the filter. values >0
what should i do ?
Hi,
Thank you for your feedback, and please try something like below.
Min sales measure: =
MINX (
FILTER ( Sales, Sales[Sales] > 0 && Sales[Sales] <> BLANK () ),
[Sales total measure:]
)
thanks for your effort, but unforetunately did not work .
Hi,
Please share your sample pbix file's link here, and then I can try to look into it to come up with a more accurate solution.
Thanks.
thank's i found a solution
Thank's alot
User | Count |
---|---|
26 | |
12 | |
8 | |
7 | |
5 |
User | Count |
---|---|
28 | |
13 | |
12 | |
12 | |
6 |