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
Good Morning,
I currently have the below formula that brings through the correct figure when filtered by location (see below), however the total is 0 despite values being present, This is likely because I have embedded values with text. how do I sum the values and ignore the text (but also keep the text within the Matrix)?
Lost_Margin =
var iFF=
IF('PED Tracker'[PED_Sales]/ [Gross_Sales] = 0 &&
[Gross_Sales]>0,[Gross_Sales]*[Avg_ped_pen]/1.2*0.72,
IF('PED Tracker'[PED_Sales]/ [Gross_Sales] = 0 && [Gross_Sales]<=0,"Dark",0))
Return iFF
Thank you for your help!
Kind regards,
AF
Solved! Go to Solution.
@AWF14978 , You have change return like
Sumx(Values(Date[Month]), calculate(iFF) )
Check - https://www.youtube.com/watch?v=ufHOOLdi_jk
@AWF14978 , You have change return like
Sumx(Values(Date[Month]), calculate(iFF) )
Check - https://www.youtube.com/watch?v=ufHOOLdi_jk
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 | |
71 | |
51 | |
50 |
User | Count |
---|---|
129 | |
123 | |
78 | |
64 | |
60 |