Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
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
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
76 | |
76 | |
55 | |
36 | |
34 |
User | Count |
---|---|
99 | |
56 | |
53 | |
44 | |
40 |