Forum Discussion
Problem with data consolidation
The image attached is the data. I want to group all the fields by date and visualize (occupied/occupied+empty) of only the types FNS, R10, and R21(total, not individually). Can someone please help me with it? I've tried Group By, Summarize Columns without much success.
Anonymous
Hi,
Please find the pbix file here
Rgds,
Vivek
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
6 Replies
- TeigeGaoSolution Sage
Hi Anonymous ,
In your scenario, I will use DAX to handle it, we can use summarize() and filter() function to do that, in PowerQuery, we can also filter the data with types FNS, R10, and R21, then use group, we can only create tables for each column you want to group.
By the way, it wolud be nice if you can share your data with txt or csv rather than a picture.
Best Regards,
Teige
- AnonymousNot applicable
Hey, Thanks for the response. The data in the .txt file is not formatted according to the requirements. This is post formatting. I tried those function, but I guess I am making a mistake somewhere. Is it possible for you to send the DAX code?
- AnonymousNot applicable
Hello,
Can someone please help me sort this out as I am sort of running on a deadline here.- AnonymousNot applicable
Hey,
Thanks for the help vivran22 . The measure solves the problem, I had an issue grouping by date and that's solved as well!