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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
dunnalahk123
Frequent Visitor

Format for QoQ

Hi,

 

i wrote a Expression as per below , in below expression i want to add "Pts" at end of expression .

and if final output value is in Negative sign it should show it in Brackets.

 

Var QoQ_Per = DIVIDE(CALCULATE([Var Cur_Val_Per] - [Pre_Val_Per]),[Pre_Val_Per])
 
example : my output value is coming as -0.01
 
for that i want to add like below  (0.01 pts) as it is in negative sign it should show it in brackets.
if its in postive sign then it should show value as it is from expression . example: 0.03 means it should show 0.03pts
 
dunnalahk123_0-1662390459160.png

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@dunnalahk123 , of you want to show negative in parenthesis then you can follow

https://www.pbiusergroup.com/communities/community-home/digestviewer/viewthread?MessageKey=b0a43781-...

 

but if you want to add pts then you have use format and add pts in text and it will become text

https://www.youtube.com/watch?v=zLG4fAHgkK4

 

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@dunnalahk123 , of you want to show negative in parenthesis then you can follow

https://www.pbiusergroup.com/communities/community-home/digestviewer/viewthread?MessageKey=b0a43781-...

 

but if you want to add pts then you have use format and add pts in text and it will become text

https://www.youtube.com/watch?v=zLG4fAHgkK4

 

Hi,

 

Super , thank you so much it works. exactly what i need.

 

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.