Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hi Experts,
I need ideas for the following request.
Let me explain,
I have a powerBi Desktop to generate a data and the user can download it to excel.
In one of the column of the downloaded data the user need an "unique identifier" or "next number" unique. to identify each excel file.
Then i thinking generate it using a combination with the date and time (seconds inclusive) to be sure the "identifer" will be unique..
But I don't know if PowerBi have commands to help with this request..
The only premise is that there cannot be 2 Excel files with the same identifier.
Any ideas will be be appreciatte,
Regards
Solved! Go to Solution.
Hi @gomezc73
Thanks for the reply from Syk .
@gomezc73 , the following testing is for your reference.
My sample:
Create a calculated column as follows
Column = UTCNOW()
You can do a refresh operation first when you download as excel.
Output in excel
Best Regards,
Yulia Xu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @gomezc73
Thanks for the reply from Syk .
@gomezc73 , the following testing is for your reference.
My sample:
Create a calculated column as follows
Column = UTCNOW()
You can do a refresh operation first when you download as excel.
Output in excel
Best Regards,
Yulia Xu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
In Power Query you can create an index column which will set a unique identifier for each row.
Thank you for your early response,
The identifier that i need is not related with the data, it must be related with the date/time when the user download the data generated to excel.
By example, if the user generate the same data with the same parameters, by example for July 2024.
Then the user must have two identical excel files, the only difference between them is the identifier..
Ahh... I don't think Power BI would be much help for you there. It sounds like a python sort of use case to me.
User | Count |
---|---|
84 | |
78 | |
70 | |
46 | |
42 |
User | Count |
---|---|
106 | |
50 | |
49 | |
40 | |
40 |