cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
jay_patel
Helper III
Helper III

Also want a child - Project No's in Grid, for every selected parent's Project No.

hello All

 

Here I am facing an issue, as client want's to display child's projects number also in grid. And the slicer only having parent's Project No.

 

For ex if i am selecting '0003-03' project no . then the grid also should display project no's ('0003-01-01','0003-01-02','0003-01-03'),for your refrence also attaching an image.Biznet-query.png

1 ACCEPTED SOLUTION
v-xulin-mstf
Community Support
Community Support

Hi @jay_patel,

 

You need create a calculated table as:

 

Slice_table = 
VALUES('Table'[Project No.])

 

Create a measure as:

 

Measure = 
var _len=LEN(MAX('Slice_table'[Project No.]))
var _len1=LEN(MAX('Table'[Project No.]))
return
IF(
    _len<=_len1,
    IF(LEFT(MAX('Table'[Project No.]),_len)=LEFT(MAX('Slice_table'[Project No.]),_len),1,0),
    0
)

 

 Drop the measure to visual level filter as:

v-xulin-mstf_0-1622089517356.png

Here is the output:

v-xulin-mstf_1-1622089583608.png

You can try the attached demo.

 

Best Regards,
Link

 

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

View solution in original post

2 REPLIES 2
v-xulin-mstf
Community Support
Community Support

Hi @jay_patel,

 

You need create a calculated table as:

 

Slice_table = 
VALUES('Table'[Project No.])

 

Create a measure as:

 

Measure = 
var _len=LEN(MAX('Slice_table'[Project No.]))
var _len1=LEN(MAX('Table'[Project No.]))
return
IF(
    _len<=_len1,
    IF(LEFT(MAX('Table'[Project No.]),_len)=LEFT(MAX('Slice_table'[Project No.]),_len),1,0),
    0
)

 

 Drop the measure to visual level filter as:

v-xulin-mstf_0-1622089517356.png

Here is the output:

v-xulin-mstf_1-1622089583608.png

You can try the attached demo.

 

Best Regards,
Link

 

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

View solution in original post

amitchandak
Super User IV
Super User IV

@jay_patel , do you have a project column with a value format you are sharing.

 

Based on what I can see, You need one

Project Code = left[project no.], 7)



Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
Dashboard of My Blogs !! YouTube Channel !! Connect on Linkedin

Proud to be a Super User!

Helpful resources

Announcements
PBI_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

MBAS on Demand

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Get Ready for Power BI Dev Camp

Microsoft named a Leader in The Forrester Wave

Microsoft received the highest score of any vendor in both the strategy and current offering categories.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.