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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

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
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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