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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
netanel
Post Prodigy
Post Prodigy

Data left to right

Hello everyone!

 

My data comes from left to right (in Hebrew you read from right to left)

עזרה5.PNG

 

 

 

 

 

 

 

 

 

 

Anyone know how to change them so that they come from right to left?

עזרה6.PNG

 








Did I answer your question?
Mark my post as a solution!
Appreciate your Kudos!

Connect on Linkedin
linkedin.com/in/netanel-shriki
1 ACCEPTED SOLUTION
Jimmy801
Community Champion
Community Champion

Hello @netanel 

 

you are almost there. Just replace the changed type at the very end of your code with Reverse. Be aware, its case sensitive...

 

If this post helps or solves your problem, please mark it as solution (to help other users find useful content and to acknowledge the work of users that helped you)
Kudoes are nice too

Have fun

Jimmy

View solution in original post

7 REPLIES 7
Jimmy801
Community Champion
Community Champion

Hello @netanel 

 

you can transform you column (you could basically also add a custom column, but that would only make more unneccessary data) and apply the function in my code

    Reverse = Table.TransformColumns
    (
        #"Changed Type",
        {
            {
                "YourColumn",
                each Text.Combine(List.Reverse(Text.ToList(_))), 
                type text
            }
        }
    )

if you need more columns to be transformed, you have to add a another nested list. In case I can show you that too. Here a complete code example to see how it works

let
    Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("i45WckxKVkhJTbNXitWJVvLPSFSoSElUio0FAA==", BinaryEncoding.Base64), Compression.Deflate)), let _t = ((type nullable text) meta [Serialized.Text = true]) in type table [YourColumn = _t]),
    #"Changed Type" = Table.TransformColumnTypes(Source,{{"YourColumn", type text}}),
    Reverse = Table.TransformColumns
    (
        #"Changed Type",
        {
            {
                "YourColumn",
                each Text.Combine(List.Reverse(Text.ToList(_))), 
                type text
            }
        }
    )
in
    Reverse

transforms this

Jimmy801_0-1615011803655.png

 

into this

Jimmy801_1-1615011819157.png


If this post helps or solves your problem, please mark it as solution (to help other users find useful content and to acknowledge the work of users that helped you)
Kudoes are nice too

Have fun

Jimmy

hi, you can also bring me the M function (custom column)

just to see if its solve my problem

 

thanks








Did I answer your question?
Mark my post as a solution!
Appreciate your Kudos!

Connect on Linkedin
linkedin.com/in/netanel-shriki

Hi @Jimmy801 

 

this my PBI https://1drv.ms/u/s!AonyYI-TdspHgVUVK2rJpCsY7yoh?e=a2Pm7n








Did I answer your question?
Mark my post as a solution!
Appreciate your Kudos!

Connect on Linkedin
linkedin.com/in/netanel-shriki

Hi @Jimmy801 

 

Thanks for the response

 

Are you meanעזרה9.PNG to put the code in the formula like I did?

It does not work for me

 








Did I answer your question?
Mark my post as a solution!
Appreciate your Kudos!

Connect on Linkedin
linkedin.com/in/netanel-shriki
Jimmy801
Community Champion
Community Champion

Hello @netanel 

 

what datasource you are accessing? The solution is in power query - as a query - not in DAX. SO you have to change your datasource quering and transform there your data.

 

BR

 

Jimmy

Hi @Jimmy801 

My Datasource is excel file.

I'm a little new to writing code, am I doing something wrong?
Because it does not work for me

עזרה11.PNGעזרה12.PNG

 








Did I answer your question?
Mark my post as a solution!
Appreciate your Kudos!

Connect on Linkedin
linkedin.com/in/netanel-shriki
Jimmy801
Community Champion
Community Champion

Hello @netanel 

 

you are almost there. Just replace the changed type at the very end of your code with Reverse. Be aware, its case sensitive...

 

If this post helps or solves your problem, please mark it as solution (to help other users find useful content and to acknowledge the work of users that helped you)
Kudoes are nice too

Have fun

Jimmy

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Kudoed Authors