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 @rouelandrew ,
Based on what you have described, you can use Power Query to transform the data and then apply DAX formulas in the visualisation for filtering. Here is a brief plan of action:
To transform data in Power Query
Creating calculated columns in Power BI Desktop
IsLatestUpdate =
VAR CurrentDate = [Date of Update]
VAR CurrentParent = [Parent]
RETURN
IF(
CurrentDate = CALCULATE(MAX([Date of Update]), FILTER(ALL('Table'), [Parent] = CurrentParent)),
1,
0
)
Filtering a table visualisation
How to Get Your Question Answered Quickly - Microsoft Fabric Community
If it does not help, please provide more details with your desired out put and pbix file without privacy information.
Best Regards,
Ada Wang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hello Ada,
I tried the DAX formula you gave (actual formula below) and instead of assigning 1 for each Parent or Customer Name, it's assigning 1 to every row that is the most recent data. So the total Table that has 3000+ lines has only 15 rows as '1' and it's because all of those rows have Date of Update of March 4, 2024.
User | Count |
---|---|
22 | |
11 | |
8 | |
6 | |
6 |
User | Count |
---|---|
25 | |
12 | |
11 | |
7 | |
6 |