Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
The raw data:
I have a table with over 10 million rows of raw data, simliar like the sample data below:
column A has report date, colum C to F are product and region info.
Column B is a concatenated column using column C to F.
What I want to do with it:
I want to monitor the Unique_ID (Column B) by different report date (Column A) and see how the combination (i.e Unique_ID) changes as day goes by.
For example,in my report,
1. I want to be able to randomly pick two days (Oct 2nd and Oct 4th in the screenshot),
2. and compare the Unique_IDs from Oct 2nd to the Unique_IDs from Oct 4th,
3. and FILTER OUT the same Unique_IDs in Oct 2nd and 4th (the GREEN and YELLOW highlighted ones will be taken out)
4. Keeping only the Unique_IDs in Oct 2nd that DO NOT show up in Oct 4th.
5. the final report would have a date filter like screenshot 2 and a table or matrix like screenshot 3
Solved! Go to Solution.
Hi @PowerBI_TMO,
Please check out the demo in the attachment.
You don't need to add the [measure] in the visual. You can add it in the Visual Level Filter.
1. Create a Date table.
2. Create a measure.
Measure = VAR maxSelectedDate = CALCULATE ( MAX ( 'Calendar'[Date] ), ALLSELECTED ( 'Calendar'[Date] ) ) VAR minSelectedDate = CALCULATE ( MIN ( 'Calendar'[Date] ), ALLSELECTED ( 'Calendar'[Date] ) ) RETURN IF ( MAX ( Table1[Report_date] ) = minSelectedDate && NOT MIN ( Table1[Unique_ID] ) IN CALCULATETABLE ( VALUES ( Table1[Unique_ID] ), FILTER ( ALL ( 'Table1' ), Table1[Report_date] = maxSelectedDate ) ), 1, BLANK () )
Best Regards,
Dale
Hi @PowerBI_TMO,
Please check out the demo in the attachment.
You don't need to add the [measure] in the visual. You can add it in the Visual Level Filter.
1. Create a Date table.
2. Create a measure.
Measure = VAR maxSelectedDate = CALCULATE ( MAX ( 'Calendar'[Date] ), ALLSELECTED ( 'Calendar'[Date] ) ) VAR minSelectedDate = CALCULATE ( MIN ( 'Calendar'[Date] ), ALLSELECTED ( 'Calendar'[Date] ) ) RETURN IF ( MAX ( Table1[Report_date] ) = minSelectedDate && NOT MIN ( Table1[Unique_ID] ) IN CALCULATETABLE ( VALUES ( Table1[Unique_ID] ), FILTER ( ALL ( 'Table1' ), Table1[Report_date] = maxSelectedDate ) ), 1, BLANK () )
Best Regards,
Dale
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
76 | |
73 | |
57 | |
38 | |
35 |
User | Count |
---|---|
83 | |
68 | |
59 | |
46 | |
45 |