Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
Jerry1985
Frequent Visitor

Slicer issues

Hello! I previously got help with my query on using a measure to calculate my average operational days. 

PowerBI Help.PNG

 

The formula the community helped me with was this 

 

Ops Days(Act) = AVERAGEX(VALUES('PowerBI Data'[Country2]),CALCULATE(SUM('PowerBI Data'[Total]),'PowerBI Data'[Revenue Reference]="OpsDay_",'PowerBI Data'[Actual / Plan]="Act",SWITCH('PowerBI Data'[Country],"SG",TRUE(), "MY",TRUE(),"TH",TRUE(),"PH",TRUE(),"VN",TRUE(),"ID",TRUE())))
 
However, when I try to slice/filter by Product1 or 2. The result is Infinity.
 
How can I get powerbi to recognize that Operational days can be used to beyond slicing by country? 
 
e.g. Revenue (Express) / Ops Days 
3 REPLIES 3
Jerry1985
Frequent Visitor

Bumping up my post T_T 

 

Hi, @Jerry1985 

Yur formulas and screenshots confuse me.

Can you directly share your sample data and expected results?

Best Regards,
Community Support Team _ Eason

Thanks for reaching out!
My sample data is below. 

 

so my expected outcome is a calculated ADNR 4,176k (Express).

I'm trying to get powerbi to calculate the same ADNR of $x,xxxk (Domestic) 

But i can't get it to recognize that the opsdays calculation can be used interchangeably between Express and Domestic. 

 

Not sure if this made sense... 

 

Sample Data.PNGSample data2.PNGSample data3.PNGSample data4.PNG

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.