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

Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare 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
OCT PBI Update Carousel

Power BI Monthly Update - October 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

October NL Carousel

Fabric Community Update - October 2024

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