Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
jimpatel
Helper V
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

 

jimpatel_0-1713349595623.png

 

 

1 ACCEPTED SOLUTION
v-jtian-msft
Community Support
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

vjtianmsft_0-1713433450198.png

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:

vjtianmsft_1-1713433493123.png

vjtianmsft_2-1713433597973.png

vjtianmsft_3-1713433630516.png

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.

 

View solution in original post

1 REPLY 1
v-jtian-msft
Community Support
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

vjtianmsft_0-1713433450198.png

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:

vjtianmsft_1-1713433493123.png

vjtianmsft_2-1713433597973.png

vjtianmsft_3-1713433630516.png

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.

 

Helpful resources

Announcements
Fabcon_Europe_Social_Bogo

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

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