Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hello guys. I have a question, can you help me.
I want to create a new customized column in the data table (image 1) that brings me the relative values of the Group table, column ID GROUPS, (image2) considering the appropriate parameter of the dates ..
For example: If the date of the data table - (Image 1) is between the start date and the end date of the groups table (Image2) will bring me the value corresponding to the ID_Group of the group column of the data table.
Thank you in advance for your help.
Solved! Go to Solution.
Hi,
Enter this calculated column formula in DATAS table
=calculate(sum(Group[idgroup]),filter(group,group[group]=earlier(datas[group])&&group([data inicio])<=earlier(datas[data])&&group([data inicio])>=earlier(datas[data])))
Hope this helps.
Hi,
Enter this calculated column formula in DATAS table
=calculate(sum(Group[idgroup]),filter(group,group[group]=earlier(datas[group])&&group([data inicio])<=earlier(datas[data])&&group([data inicio])>=earlier(datas[data])))
Hope this helps.
Ashish, Do you know Is there any way to do this within the power query?
Hi,
No. Not an efficient way.
Thank you!
You are welcome.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
105 | |
94 | |
75 | |
63 | |
62 |
User | Count |
---|---|
137 | |
105 | |
104 | |
80 | |
63 |