The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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 |
---|---|
24 | |
10 | |
8 | |
6 | |
5 |
User | Count |
---|---|
31 | |
11 | |
10 | |
10 | |
9 |