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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

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

 

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

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

 

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

Hi,

 

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

 

 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.