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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

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
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Top Solution Authors