Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
Hello everyone,
I have been stuck with this problem and I really need your help. Below I have this demo partition of my master table:
Now I have to mark 1 for all rows between VAN and LDFULL code by DAX, the rest will be marked 0. The result look like this:
I have try to combine functions OFFSET with PARTITIONBY but all I just can do is finding next move base on Serial.
Please help me, many thanks to you guys
Solved! Go to Solution.
watch my video i did what you want with power query
VIDEO :
https://1drv.ms/v/s!AiUZ0Ws7G26RiU40AmKekZWu3wvj?e=cA5H3K
Sample PBIX file attached
https://1drv.ms/u/s!AiUZ0Ws7G26RiU0JufLFWKnJVFBB?e=bUD7sg
Hi @Ahmedx
Thanks for your help, but do you know how to do this work by using DAX? Because the data is from database and I can not have credential for editing on Power Query.
if we do it in DAX, then we still need the index column. it won't work without this column
Hi, I don't know what is the role of index column. Also the data have other column is Event Date which act same as serial column but I can set index base on this one for group by ID.
Can you please show how you can do this by DAX in your scenerio?
Hi
Wonderful, your function is really great. But can I ask you what does this row doing?
_Indx = MAXX(FILTER('Table', [Index] <= _t1 && NOT ISBLANK([falg])), [Index])
I mean when the function come to this row how can it know to fill down the number 4 to this cell because the flag cell this row is blank and the condition in FILTER function is not blank?
Many thanks ❤️
User | Count |
---|---|
64 | |
59 | |
47 | |
33 | |
32 |
User | Count |
---|---|
84 | |
75 | |
56 | |
50 | |
44 |