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
I wish to map word "Increased By" & Decreased By" according to it's occurance in file . please help
do you want to compare the diff% and previous month%diff?
if so, you can just try this
Column 2 = IF('Table'[% Diff]>='Table'[Previous Month % Diff],"Increase","Decrease")
Proud to be a Super User!
is this what you want?
Column =
VAR last=maxx(FILTER('Table','Table'[Index]=EARLIER('Table'[Index])-1),'Table'[% Diff])
return if(ISBLANK(last),"increased by",if(last<'Table'[% Diff],"increased by","decreased by"))
pls see the attachment below
Proud to be a Super User!
Thank you for your quick response,
All down trangle should be show as "Decreased By" and up trangle should show "Increased By"
Please help on this
Thanks again
May I know what's wrong with the solution I provided?
Proud to be a Super User!
Please have a look attached snap
pls check the attachment below
Proud to be a Super User!
It seems you attached earlier file which has same result as shared snap
what's the logic for up and down triangles?
Proud to be a Super User!
User | Count |
---|---|
69 | |
64 | |
62 | |
55 | |
28 |
User | Count |
---|---|
203 | |
82 | |
65 | |
48 | |
38 |