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 September 15. Request your voucher.
hi, Iam learning dax .kindly help me in solving -
how can i substract these minimum of each "value" corrsponding to "category" for each "country".
like .
for each Country - for "p" category - value minus minmum(P)
fact table
Thank you
Solved! Go to Solution.
NewColumn=TableName[Value]-MINX(FILTER(TableName,TableName[Year]=Earlier(TableName[Year])&&TableName[Category]=Earlier(TableName[Category])),TableName[Value])
NewColumn=TableName[Value]-MINX(FILTER(TableName,TableName[Year]=Earlier(TableName[Year])&&TableName[Category]=Earlier(TableName[Category])),TableName[Value])
User | Count |
---|---|
15 | |
13 | |
8 | |
6 | |
6 |
User | Count |
---|---|
24 | |
19 | |
12 | |
9 | |
7 |