Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi there,
I created a measure that calculates some values. The measure looks like as follow:
I noticed that some measure is not producing the desired result. So I decided to debug and wrote another measure which looks like as follow:
Solved! Go to Solution.
@Dunner2020 - Here is a good trick:
Normalized SAIDI 24 hrs Unplanned =
var Time30Min = MAX('Outages and Interruptions'[Epoch Half Hour Number])
Return
CALCULATE ( CONCATENATEX(
FILTER(
filter(ALL('Outages and Interruptions'),'Outages and Interruptions'[Epoch Half Hour Number] <= Time30Min && 'Outages and Interruptions'[Epoch Half Hour Number] >= Time30Min-47),
[Zero Min Interruption]&&[Zero Customer Interruption]&&[External and LV interruptions]&&[description not contains]&&[Unplanned Interruption]), [Normalised SAIDI 30 Mins Unplanned]),",")
Replace your aggregator like SUMX with CONCATENATEX and then you can see what is going on "inside" your table essentially. Also, consider breaking your CALCULATE up into additional variables and then you can return individual variables as part of the measure to essentially look at what is going on inside at every step of the measure.
@Dunner2020 - Here is a good trick:
Normalized SAIDI 24 hrs Unplanned =
var Time30Min = MAX('Outages and Interruptions'[Epoch Half Hour Number])
Return
CALCULATE ( CONCATENATEX(
FILTER(
filter(ALL('Outages and Interruptions'),'Outages and Interruptions'[Epoch Half Hour Number] <= Time30Min && 'Outages and Interruptions'[Epoch Half Hour Number] >= Time30Min-47),
[Zero Min Interruption]&&[Zero Customer Interruption]&&[External and LV interruptions]&&[description not contains]&&[Unplanned Interruption]), [Normalised SAIDI 30 Mins Unplanned]),",")
Replace your aggregator like SUMX with CONCATENATEX and then you can see what is going on "inside" your table essentially. Also, consider breaking your CALCULATE up into additional variables and then you can return individual variables as part of the measure to essentially look at what is going on inside at every step of the measure.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.