Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
Running into a strange scenario when I'm trying to pull values into a calculated column from another table. It seems to work fine... but not all the time and a number of values are missing although some appear correct without issue.
I'm currently using the formula:
Est. POS Cost = IF(ISBLANK('POS Sales Data_Basic'[POS Event Code]),BLANK(), CALCULATE ( FIRSTNONBLANK ( 'POS Flyer Event Costs'[Promo Price], 0 ), FILTER ( ALL ( 'POS Flyer Event Costs' ), 'POS Sales Data_Basic'[Item Number] = 'POS Flyer Event Costs'[Item Number] && 'POS Sales Data_Basic'[POS Event Code] = 'POS Flyer Event Costs'[POS Event Code]) ))
As you can see in my table I'm using this formula in to retrieve from 'POS Flyer Event Costs', it retrieves the correct value of $6.65 only once and leaves blank all the other rows where I would expect to see it as well.
A Snapshot of my tables:
POS Sales Data_Basic
POS Flyer Event Costs
Thoughts? Thanks in advance.
EDIT: I think something went wrong with the screenshots, just updated them.
Hi @Anonymous,
Have you solved your problem?
If you have solved, please always accept the replies making sense as solution to your question so that people who may have the same question can get the solution directly.
If you still need help, please share your data sample which could reproduce your scenario so that we could help further on it.
Best Regards,
Cherry
Hi @Anonymous,
It seems that you have two tables, have you created the relationshio between the two tables? If it is, please share a screenshot about the relationship.
By my tests based your information, I could get your desired output.
In addition, please share your two tables as table format so that I can copy and test so that we could get the solution faster.
Best Regards,
Cherry
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
87 | |
87 | |
87 | |
67 | |
49 |
User | Count |
---|---|
135 | |
113 | |
100 | |
68 | |
67 |