Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi all,
So I have the exact same python script running on Jupyter notebook, that will not run on Power BI. I have the screens side by side. Basically I'm trying to create a new column for Fiscal Year using a function with specific date ranges so that it grabs the date from the date column and if it is within a certain range, it will spit out the appropriate fiscal year. But only Power BI do I get the error:
TypeError: '>' not supported between instances of 'str' and 'Timestamp'
Why would that be?
Thank you.
please include the code rather than screenshots. They are too small to read.
User | Count |
---|---|
5 | |
4 | |
4 | |
2 | |
2 |
User | Count |
---|---|
8 | |
4 | |
4 | |
4 | |
3 |