The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hi Experts
Can i change the following measure to show a Value and Percentage i.e 257 (3%)
Profitability_Summary_Channel =
VAR Mth1 =
SELECTEDVALUE ( SelMth[Month] )
VAR yr =
SELECTEDVALUE ( Year_Grp[Year] )
VAR Fcst1 =
SELECTEDVALUE ( SelMth4[Actual] )
VAR Acct =
SELECTEDVALUE ( Grp_Sumry_Rep[AccountGroup] )
VAR MthVal =
CALCULATE (
SUM ( Profitability_Consolidation[Profit]),
Profitability_Consolidation[Period] = Fcst1,Profitability_Consolidation[Year] = yr, Profitability_Consolidation[AccountGroup] = Acct, Profitability_Consolidation[Product] = "Total"
)
RETURN
MthVal
Solved! Go to Solution.
@Anonymous
For example, if you have measure = 1, you can create following dax to get currency and percent.
Paul Zheng _ Community Support Team
If this post helps, please Accept it as the solution to help the other members find it more quickly.
@Anonymous
For example, if you have measure = 1, you can create following dax to get currency and percent.
Paul Zheng _ Community Support Team
If this post helps, please Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous
Alternatively, create your measure and then create another measure equal to it i.e.
Measure 2 = Measure 1
You can then set the formats of each measure independently in the Data tab -> Measure Tools and retain the data type rather than converting to string with FORMAT.
Regards
Phil
If I answered your question please mark my post as the solution.
If my answer helped solve your problem, give it a kudos by clicking on the Thumbs Up.
Proud to be a Super User!
You can use the FORMAT function to define format within a measure, e.g. RETURN Value1 & " " & FORMAT(Value2, "Percent")
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
User | Count |
---|---|
112 | |
80 | |
74 | |
52 | |
50 |
User | Count |
---|---|
132 | |
124 | |
78 | |
64 | |
61 |