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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
cnestg8r
Regular Visitor

Differences in excel dax and power bi dax

:=CALCULATE(sum(fPICKS[Wins]),filter(fPICKS,fpicks[week]=[Week Selected]))

:=CALCULATE(sum(fPICKS[Wins]),filter(fPICKS,fpicks[week]<[Week Selected]))

 

The first measure definition works fine in both excel and PBID. The second works fine in excel but yields blanks in PBID.

 

Please help me understand.

1 ACCEPTED SOLUTION

I really appreciate the continued interest in my problem. I am embarrassed to report that I somehow introduced some noise in the data and I did have a data type conflict. The measures are fine and work well with the purged data.

 

Many Thanks

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

Hi @cnestg8r

 

What is the data type of [week selected] in PBID?

The data type is whole number, as is fPICKS[Week].

When I look at the query, I see some blank rows in dGames and fPICKS. It appears to be a display concern more than real blank rows?

 

I'll have a look at using Power BI instead of desktop to see if there is a difference.

@cnestg8r,

 

Coudl you please provide us some sample data, or you could share your PBIX file, so that we can make further analysis.

 

Regards,

Charlie Liao

I really appreciate the continued interest in my problem. I am embarrassed to report that I somehow introduced some noise in the data and I did have a data type conflict. The measures are fine and work well with the purged data.

 

Many Thanks

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors