- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

How to recreate this in Power BI?
Hi,
I've got something which I need to do and I'm really struggling on how to implement the theory into Power BI.
So the theory is, we have properties with multiple offers. Some fall through, some don't. If they fall through then the property can be resold.
In order to make sure the numbers aren't incorrectly inflated, we make sure to select an option showing if it's resold and then calculate the different from the original offer. The Original Offer is the one without a value in the "Resale?" column.
I'm having a hard time implementing this in Power BI, does anyone have any ideas of how I can do this?
I'll include the Excel file just incase you want to see it
Cheers,
Mike
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Hi @michael_knight ,
You can create the diff column like this:
diff =
VAR tb =
SUMMARIZE (
ALL ( Theory ),
'Theory'[Property Name],
Theory[Date Offer Accepted],
Theory[Resale?],
'Theory'[Total IN],
"T", CONVERT ( 'Theory'[Total IN], INTEGER )
)
RETURN
IF (
ISBLANK ( 'Theory'[Resale?] ),
0,
'Theory'[Total IN]
- SUMX (
FILTER (
tb,
[Date Offer Accepted]
= MINX (
FILTER ( tb, [Property Name] = EARLIER ( Theory[Property Name] ) ),
[Date Offer Accepted]
)
&& [Property Name] = EARLIER ( Theory[Property Name] )
),
[T]
)
)
T/F column:
true or false =
IF ( [diff] = 0, TRUE (), FALSE () )
Attached the sample file in the below, hopes to help you.
Best Regards,
Community Support Team _ Yingjie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Hi,
Just been having a play around and I'm still nonethewiser. Added another column to show which is the original offer. The Original Offer has returns "True". The the screenshot below the first offer should be the original so the bottom 3 should all be true, which isn't the case
On the screenshot below I was having a play around with the Total In figures and it turns out that the True or False depends on the Total In in some cases, which is unusual
Does anyone have any suggestions?
https://www.dropbox.com/s/6r1v3a3rqztbfec/Help%20-%20Resale.pbix?dl=0
Cheers,
Mike
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Hi @michael_knight ,
You can create the diff column like this:
diff =
VAR tb =
SUMMARIZE (
ALL ( Theory ),
'Theory'[Property Name],
Theory[Date Offer Accepted],
Theory[Resale?],
'Theory'[Total IN],
"T", CONVERT ( 'Theory'[Total IN], INTEGER )
)
RETURN
IF (
ISBLANK ( 'Theory'[Resale?] ),
0,
'Theory'[Total IN]
- SUMX (
FILTER (
tb,
[Date Offer Accepted]
= MINX (
FILTER ( tb, [Property Name] = EARLIER ( Theory[Property Name] ) ),
[Date Offer Accepted]
)
&& [Property Name] = EARLIER ( Theory[Property Name] )
),
[T]
)
)
T/F column:
true or false =
IF ( [diff] = 0, TRUE (), FALSE () )
Attached the sample file in the below, hopes to help you.
Best Regards,
Community Support Team _ Yingjie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

@michael_knight , Try new column like
diff =
var _1 = maxx(filter(Table, [property name] = earlier([property name])) lastnonblankvalue([Date offer accepted], [Total IN]))
return
if (isblank(_1) , blank(), [Total IN] -_1)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Hi @amitchandak We're on the right track!
I've found an unusual issue with that measure. Some dates are doing it in reverse order. In the image below it should be using 1st January as the date to compare the rest to, rather than the 9th October
It seems to be working perfectly fine for the image below. I can't work out the difference
I'll add a PBIX file below
https://www.dropbox.com/s/6r1v3a3rqztbfec/Help%20-%20Resale.pbix?dl=0
Cheers,
MIke

Helpful resources
Subject | Author | Posted | |
---|---|---|---|
05-08-2024 02:42 AM | |||
07-11-2024 05:55 AM | |||
08-15-2024 01:15 PM | |||
09-20-2024 06:41 AM | |||
Anonymous
| 09-11-2019 02:51 PM |
User | Count |
---|---|
123 | |
104 | |
84 | |
49 | |
46 |