Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join 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.

Reply
PBIBeginner2022
Helper III
Helper III

Matrix array visual don't function with the two last date in colum

Hi everyone,

 

I would like create a visual like this photo below with two last two date of my table.

 

PBIBeginner2022_0-1655798825961.png

 

 

However I don't arrive to create this. I only have one column and not two column as I would like.

 

PBIBeginner2022_0-1655798597988.png

 

PBIBeginner2022_2-1655796937758.png

 

I hided confidential information. Could you help me to create the first visual please.

2 REPLIES 2
Anonymous
Not applicable

Hi @PBIBeginner2022 ,

 

You want to display the last two dates that exist in the date column.

Here's the solution.

1.Create a rank column.

Rank = RANKX(FILTER('Table',[M/B]=EARLIER('Table'[M/B])),[Date],,DESC,Dense)

vstephenmsft_0-1656050428169.png

 

2.Add the rank column into the Filters. Set show items when the value is less than or equal to 2.

vstephenmsft_1-1656050459548.png

 

 

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi @Anonymous ,

 

Thanks for your answer but my problem is a little different. 

In my matrix array, I have in line "Make and Buy" in a first table. I have the two lastest (two most recent) extraction date in column of my matrix array in the second table with lots exraction date. And in value I have the sum of all my order wich have a specific status in the third table.

 

I have 3 different table in my report Power BI. Could you help me again please.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.