Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.
SlicerTable =
expected O/P :
if we select 30Y01AB, table shhould display 3 records, as they are related.
30Y0140 |
30Y0140/30Y01AB |
30Y0140/30Y01AB/30Y0160 |
Regards,
Narender.
Solved! Go to Solution.
Hi @tangutoori ,
Please hvae a try.
Create another table with the SlicerTable[Replace 1] column .
Create a measure.
Measure = var _1=SELECTEDVALUE('Table 2'[id])
return
if(SEARCH(_1,MAX('Table'[id]),1,0)=1,MAX('Table'[id]),BLANK())
You can try to use search:
SEARCH function (DAX) - DAX | Microsoft Learn
How to Get Your Question Answered Quickly
If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .
Best Regards
Community Support Team _ Rongtie
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi Team,
below is the source data.
S.no | Part number Previous | Part number Current | Concatenate | Change Date | Type of change | Part Status | Prev Wei FSC | Curr Wei FSC |
1 | 30Y0140 | 30Y0140,30Y01XY,30Y0160,30Y0ABC | 05-01-23 | New cost item | New part | 10 | 10 | |
2 | 30Y0140 | 30Y01XY | 30Y0140,30Y01XY,30Y0160,30Y0ABC | 06-01-23 | Part Replacement | Part Change | 10 | 10 |
3 | 30Y01XY | 30Y0160 | 30Y0140,30Y01XY,30Y0160,30Y0ABC | 07-01-23 | Part Replacement | Part Change | 10 | 10 |
4 | 30Y0160 | 30Y0ABC | 30Y0140,30Y01XY,30Y0160,30Y0ABC | 08-01-23 | Part Replacement | Part Change | 10 | 20 |
5 | 30Y1534 | 30Y1534 | 11-01-23 | New cost item | New part | 10 | 10 | |
6 | 30Y1532 | 30Y1532 | 12-01-23 | New cost item | New part | 10 | 10 | |
7 | 30Y0989 | 30Y0989/30Y0100 | 13-01-23 | New cost item | New part | 10 | 23 | |
8 | 30Y0989 | 30Y0100 | 30Y0989/30Y0100 | 14-01-23 | Part Replacement | Part Change | 10 | 5 |
below table should genearte on basis of group by concateante column adn show the part num based on Minimum change date and maximum chage date with in the group.
Delta is Curr Wei FSC (at minimun date) - Curr Wei FSC (at maximum date).
First part Num | last Part Num | Delta |
30Y0140 | 30Y0ABC | -10 |
30Y1534 | 30Y1534 | 0 |
30Y1532 | 30Y1532 | 0 |
30Y0989 | 30Y0100 | 18 |
Now if i click on the first row i should show the hostory of changes from 30Y0140 TO 30Y0ABC as below.
S.no | Part number Previous | Part number Current | Concatenate | Change Date | Type of change | Part Status | Prev Wei FSC | Curr Wei FSC |
1 | 30Y0140 | 30Y0140,30Y01XY,30Y0160,30Y0ABC | 05-01-23 | New cost item | New part | 10 | 10 | |
2 | 30Y0140 | 30Y01XY | 30Y0140,30Y01XY,30Y0160,30Y0ABC | 06-01-23 | Part Replacement | Part Change | 10 | 10 |
3 | 30Y01XY | 30Y0160 | 30Y0140,30Y01XY,30Y0160,30Y0ABC | 07-01-23 | Part Replacement | Part Change | 10 | 10 |
4 | 30Y0160 | 30Y0ABC | 30Y0140,30Y01XY,30Y0160,30Y0ABC | 08-01-23 | Part Replacement | Part Change | 10 | 20 |
Regards,
Narender.
Hi @tangutoori ,
Please hvae a try.
Create another table with the SlicerTable[Replace 1] column .
Create a measure.
Measure = var _1=SELECTEDVALUE('Table 2'[id])
return
if(SEARCH(_1,MAX('Table'[id]),1,0)=1,MAX('Table'[id]),BLANK())
You can try to use search:
SEARCH function (DAX) - DAX | Microsoft Learn
How to Get Your Question Answered Quickly
If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .
Best Regards
Community Support Team _ Rongtie
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Check out the November 2023 Power BI update to learn about new features.
Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.