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 All. I am trying to create a measure/calculated column using below formula:
How do i correct it ? Any help would be much appreciated. Thanks in Advance!
Solved! Go to Solution.
I have a column called "Opp Value" and by doing sum value, the measure is working for now
Have you checked the data type of the field "am[Column]"? Maybe is formatted as text
yes it is of text data type and it is not changing to whole number
@Anonymous , This measure the data type AM[Column] is Text, change it whole number or use countx
you can also try
Measure3 = var a = CALCULATE(SUMX(AM,AM[Column]*1),
FILTER (AM,AM[AM_OR_ATE]="Account Manager"))
return IF(ISBLANK(a),0,a)
I am getting an error like this
It Seems in your source you have the value formatted as M. Try to sobstitute "S" and "M" with "" and then multply all the column by 1,000,000
@Anonymous
Can you change it to Whole Number Or Decimal Number in power query Editor?
I have a column called "Opp Value" and by doing sum value, the measure is working for now
User | Count |
---|---|
15 | |
12 | |
8 | |
7 | |
7 |
User | Count |
---|---|
24 | |
21 | |
12 | |
10 | |
7 |