Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hello,
I need to concatenate 2 count in 1 field and have the 2nd count into brackets.
For example:
Quarter Region Extra work done (0 - No, 1- Yes)
Q2 2024 APAC 0
Q3 2024 AMER 1
Q4 2024 EMEA 1
Q2 2024 APAC 1
Q3 2024 AMER 1
so my final output should show as a pivot with Region on the rows and count of of work done by quarter on the right plus (extra work done). It basically counts the the number of times region is used in the row plus the count of 1's as the extra work done for that region. Appreciate any help on this please
Region Q2 2024 Q3 2024 Q4 2024
APAC 0 1(2) 0
EMEA 2(4) 3(1) 2(1)
AMER 2(2) 7(4) 3(0)
Solved! Go to Solution.
Hello @ashraparas ,
You can create 2 measure and concatenate the same as one and add it to the Matrix Visual
Measure 1. Total Count = COUNTROWS('YourTable')
Measure 2. Extra Work Count = CALCULATE(COUNTROWS('YourTable'), 'YourTable'[Extra work done] = 1)
Concatenated Measure
Concatenated Measure =
VAR Total = [Total Count]
VAR ExtraWork = [Extra Work Count]
RETURN
Total & "(" & ExtraWork & ")"
If you find this helpful , please mark it as solution which will be helpful for others and Your Kudos/Likes 👍 are much appreciated!
Thank You
Dharmendar S
Hi @ashraparas
Did the solution @dharmendars007 offeded help you solve the problm, if it helps, you can consider to accept it as a solution so that more user can refer to.
Best Regards!
Yolo Zhu
Hi @ashraparas
Did the solution @dharmendars007 offeded help you solve the problm, if it helps, you can consider to accept it as a solution so that more user can refer to.
Best Regards!
Yolo Zhu
Hello @ashraparas ,
You can create 2 measure and concatenate the same as one and add it to the Matrix Visual
Measure 1. Total Count = COUNTROWS('YourTable')
Measure 2. Extra Work Count = CALCULATE(COUNTROWS('YourTable'), 'YourTable'[Extra work done] = 1)
Concatenated Measure
Concatenated Measure =
VAR Total = [Total Count]
VAR ExtraWork = [Extra Work Count]
RETURN
Total & "(" & ExtraWork & ")"
If you find this helpful , please mark it as solution which will be helpful for others and Your Kudos/Likes 👍 are much appreciated!
Thank You
Dharmendar S
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
143 | |
85 | |
66 | |
51 | |
45 |
User | Count |
---|---|
217 | |
89 | |
82 | |
66 | |
57 |