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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
amalrio
Helper V
Helper V

Add Zero at start of a currency Paginated report

Hi Paginated report experts

I need to add a zero infront of the curency values in a paginated table column. please refer to below example

 

Current Value                             Desier Value

$.23                                            $0.23

$3.26                                          $3.26

$.78                                            $0.78

 

my column expression is like 

=format(Field1.Value,"##.##)&"%"

 

how could I achieve above. Thanks a lot in advance. 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@amalrio , Try like

=format(Field1.Value,"#0.##)&"%"

View solution in original post

3 REPLIES 3
v-yangliu-msft
Community Support
Community Support

Hi  @amalrio ,

Here are the steps you can follow:

1. Create calculated column.

value =
var _number=IF([Current Value]=INT([Current Value]),1,0)
return
IF(
    _number=1,'Table'[Current Value]/100,'Table'[Current Value])

2. Select the [value] column - Column tools -- $

vyangliumsft_0-1646276504191.png

3. Result:

vyangliumsft_1-1646276504191.png

Best Regards,

Liu Yang

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

@v-yangliu-msft  yours works too I accepted @amitchandak  as a solution since it is a simpler version. Thanks a lot both.

amitchandak
Super User
Super User

@amalrio , Try like

=format(Field1.Value,"#0.##)&"%"

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

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

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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