cancel
Showing results for
Did you mean:

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Helper V

Text to number for total rows and total column

Hi,

I am using below logic for my power bi. Does any one know how to convert this to number so that i can see "Total Rows" and "Total Column" in the visualzation please?

Any help will be appreciated

1 ACCEPTED SOLUTION
Community Support

Hi @jimpatel ,
Don't worry, I'll do my best to come up with an effective solution for you!
First, I'll start by offering the following solution ideas based on your description as I understand it
1.open the subtotal function in visual
2.create a measure

If you want to get the value of total to use, I suggest you to create a measure to calculate the rows and columns of the table, which will work similarly to the subtotals function. Even better,
you can use your measure and change its type (e.g. from text to numeric) without affecting the table data itself.
Like this:

I hope my suggestions  give you good ideas, if you have any more questions, please clarify in a follow-up reply.

Best Regards,

Carson Jian,

If this post helps, then please considerAccept it as the solution to help the other members find it more quickly.

Community Support

Hi @jimpatel ,
Don't worry, I'll do my best to come up with an effective solution for you!
First, I'll start by offering the following solution ideas based on your description as I understand it
1.open the subtotal function in visual
2.create a measure

If you want to get the value of total to use, I suggest you to create a measure to calculate the rows and columns of the table, which will work similarly to the subtotals function. Even better,
you can use your measure and change its type (e.g. from text to numeric) without affecting the table data itself.
Like this:

I hope my suggestions  give you good ideas, if you have any more questions, please clarify in a follow-up reply.

Best Regards,

Carson Jian,

If this post helps, then please considerAccept it as the solution to help the other members find it more quickly.

Announcements

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.

Fabric certifications survey

Certification feedback opportunity for the community.

Top Solution Authors
Top Kudoed Authors