Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount.
Register nowIs there any way for me to create a format string expression so that the desired calculation item(string) is left aligned
Set up
They would be left aligned if they were of same length. But that is not possible, yt how can they be left aligned.
Solved! Go to Solution.
@smpa01 I think you will do left align in the matrix visual format pane for specific column:
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
Default alignment will depend on base measure. If it's a number, (or blank?) it will be right aligned, if it's text it will be left aligned. If you want to have both and use the Calc group column in the columns of the visual is a bit tricky. I would try this.
Measure= blank()
Precedence 20 your calc group
Precedence 10 a Calc group that depending on the selected value in your calc group replaces with 0 or with "" the selected measure
Precedence 20 your calc group.
But I'm thinking this will not work
Different approach have two base measures, zero and Empty string
Then in your calc group and some logic so that left aligned Calc items only work on the zero and right aligned in the empty string. But maybe that does not work either
Tricky!
@smpa01 I think you will do left align in the matrix visual format pane for specific column:
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the February 2025 Power BI update to learn about new features.
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
User | Count |
---|---|
98 | |
69 | |
66 | |
49 | |
42 |