Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hi Team,
I have a column with both numbers & Text. Is there a way to sum only numeric values in that column using a single measure?
Eg:
I have a table like shown below. I need a measure to show the sum of total events as 12(by adding 7 & 5 in cnt column).
Thanks in advance!
Solved! Go to Solution.
Hi @AmudhaKumaran ,
Please create a calculated column to check only for numeric data as below
Thereafter create a measure to sum the column
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Appreciate your Kudos..!
Regards
Husna
Hi @AmudhaKumaran ,
Please create a calculated column to check only for numeric data as below
Thereafter create a measure to sum the column
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Appreciate your Kudos..!
Regards
Husna
Hi @Anonymous ,
Thanks for yor response. What you suggested would absolutely work for a standalone dataset. However, I'm using a data model that is in datalake and I don't manage it. Means, I cannot create columns. I can only create measures withing my report.
So that's why I'm trying to figure out my issue using a measure.
@AmudhaKumaran , I would advise to create a new numeric column in power query
refer: https://www.youtube.com/watch?v=YtCFAxD5qow
User | Count |
---|---|
107 | |
87 | |
81 | |
76 | |
71 |
User | Count |
---|---|
112 | |
105 | |
96 | |
74 | |
66 |