The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hello,
I am facing some problems that might be trivial but I got stuck thinking about them.
What I have is:
So basically each row have multiple columns that are describing state of that particular data-entity on a given day - from the moment of data-entity creation until today. This means that the ID is not unique for each of the datapoint, but rather a combination of unique ID + date.
Now - what I want to do is the following - I want to track how the list of the unique id's changes between two given dates based on some third column value.
To describe a full problem, let's assume that Table1 consists of:
Now, what I want to do is:
The end effect I'm trying to achieve here is a visual that would be slice'able by the named time periods and would inform me with informations about:
I've tried multiple things and I'm pretty sure I might have missed some obvious solution here but my mind is melting right now and I've decided to look for some help 🙂
Without seeing a demo file it's hard to be more specific but if you are able to get a list of Ids at the start and end of the time period which points 1 and 2 suggest you have then you could look at using EXCEPT.
You could use VALUES and CALCULATETABLE to store the start and end list in variables and then list of Ids for point 3 would be:
EXCEPT ( EndList, StartList)
for point 4 it would be the other way round:
EXCEPT ( StartList, EndList).
Both return tables so you could then use COUNTROWS or something to return data for visual?
Thanks for taking a closer look into this! I will test proposed solution today and come back here with some information about whether it has allowed me to do what I've wanted 🙂
Thanks for taking a closer look into this! I will test proposed solution today and come back here with some information about whether it has allowed me to do what I've wanted 🙂
User | Count |
---|---|
16 | |
8 | |
6 | |
6 | |
5 |
User | Count |
---|---|
23 | |
13 | |
13 | |
8 | |
8 |