Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi,
is there a way to only show only the latest purchase based on this table i alread created the measures
but i want to show only the latest in the Card
measures :
Solved! Go to Solution.
@Easley08 Create a measure to get the latest purchase date:
Latest Purchase Date = MAX(Sales[Purchase Date])
Create a measure to get the outlet name of the latest purchase:
Latest Outlet Name =
CALCULATE(
FIRSTNONBLANK(Sales[Outlet Name], 1),
Sales[Purchase Date] = [Latest Purchase Date]
)
Create a measure to get the purchase date of the latest purchase:
Latest Purchase Date Display =
CALCULATE(
MAX(Sales[Purchase Date]),
Sales[Purchase Date] = [Latest Purchase Date]
)
Create a measure to get the LP Year of the latest purchase:
Latest LP Year =
CALCULATE(
MAX(Sales[LP Year]),
Sales[Purchase Date] = [Latest Purchase Date]
)
Proud to be a Super User! |
|
@Easley08 Create a measure to get the latest purchase date:
Latest Purchase Date = MAX(Sales[Purchase Date])
Create a measure to get the outlet name of the latest purchase:
Latest Outlet Name =
CALCULATE(
FIRSTNONBLANK(Sales[Outlet Name], 1),
Sales[Purchase Date] = [Latest Purchase Date]
)
Create a measure to get the purchase date of the latest purchase:
Latest Purchase Date Display =
CALCULATE(
MAX(Sales[Purchase Date]),
Sales[Purchase Date] = [Latest Purchase Date]
)
Create a measure to get the LP Year of the latest purchase:
Latest LP Year =
CALCULATE(
MAX(Sales[LP Year]),
Sales[Purchase Date] = [Latest Purchase Date]
)
Proud to be a Super User! |
|
Hi sir im getting error for this
User | Count |
---|---|
25 | |
12 | |
8 | |
6 | |
6 |
User | Count |
---|---|
26 | |
12 | |
11 | |
10 | |
6 |