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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
JSR
Helper I
Helper I

Get data from Filtered rows

Hi,

A bit lost on how best get data from specific rows so looking for any advice, thanks.

 

Having a table like below.

t1.png

 

I would like to get specific filtered rows and display its info into cards.

 

So 1st card shows data where Category = IT and current date between Start and end date.

  • I guess I don't need to modify the model data,but how can I get the data filtered by category and by dates?

t2.png

 

Let me know if I havent explained myself well.

 

1 ACCEPTED SOLUTION

Hi @JSR ,

 

For TITLE column, set summarisation to FIRST as highlighted below:

Pragati11_0-1599221730516.png

 

For END DATE, set summarisation to LATEST as shiwn below:

Pragati11_1-1599221824623.png

 

This will give you your desired result as follows:

Pragati11_2-1599221884645.png

 

Thanks,

Pragati

 

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

View solution in original post

5 REPLIES 5
Pragati11
Super User
Super User

Hi @JSR ,

 

You can do it easily by having a filter on CATEGORY and a Multicard to display relevant information.

  • Create a Slicer and move Category column to it.
  • Create a Muti-card and move Title, Category, End Date columns to it.

Pragati11_0-1599211681856.png

 

Now whenever you change values in the slicer, the values in the card visual gets updated:

gifcording-1599211964604.gif

 

Let me know if this what you are looking for.

 

Thanks,

Pragati

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

Thanks @Pragati11 for your super detailed answer.

But I need to do the filtering automatic, and only display the latest based on Category and dates.

Hi @JSR ,

 

For TITLE column, set summarisation to FIRST as highlighted below:

Pragati11_0-1599221730516.png

 

For END DATE, set summarisation to LATEST as shiwn below:

Pragati11_1-1599221824623.png

 

This will give you your desired result as follows:

Pragati11_2-1599221884645.png

 

Thanks,

Pragati

 

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

amitchandak
Super User
Super User

@JSR , Try a measure like

 

measure =
var _date = today() //selectedvalue(date[date])
return
calculate(counrows(Table), filter(Table, table[start date]<=_date && Table[end date]>= _date))

Thanks @amitchandak 

but I dont think a measure will work, I need to display diferrent coulumns of the row.

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.