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

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.

Reply
jtobon88
Frequent Visitor

HELP DAX URGENT

 
1 ACCEPTED SOLUTION
Ashish_Mathur
Super User
Super User

Hi,

On the data that you have shared, show the exact expected result in a simple Table format.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

View solution in original post

9 REPLIES 9
Ashish_Mathur
Super User
Super User

Hi,

On the data that you have shared, show the exact expected result in a simple Table format.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

This the expected result

 

YEARDEPARTAMENT changedpromotedjoined the companyhave left
20130000
20142210
20151201
20162311

 

Example:

 

* Department Changed:

ID 1 ID 1 was changed from department A to department B in 2014.

Hi,

Your and my answers for Department changed do not match for 2015 and 2016.  For 2015 and 2016, the answer should be 3 (see screenshot below) and revise the answers that you have shared.

Untitled.png


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Excuse me, if you're right with your answer. How can I recreate this dax? you share that .PBIX

 

Thanks

You have not answered my question.  Am I correct in the statement that I made in the previous post?  Also, review your expected answers and make corrections.  Share the updated expected result table.  I'd like to share the PBI file only after I have computed all measures.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

I Excusme again. Your statement is correct and the distribution you propose is true.

 

 

This is the Expected Result

 


Year
1. Changed Department2. Nivel Changed3. Joined the Company4. Have Left
20130000
20142210
20153201
20163311
Total8722

Hi,

You may download my PBI file from here.  I have not understood the second question so have left that.

Hope this helps.

Untitled.png


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

thanks friend 🙂

You are welcome.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.