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.
Hi All,
I created a slicer which will have Month-Year(eg., oct-2019,Nov-2019 etc) and Year values(2019,2020,etc). I got this by creating calculated table.
Then i created Percentage Difference by year and then by Month.
When i tried in my local with sample data(csv) set it worked fine but when i connected to my backend i.e., oracle percent difference calculation was throwing error.
Provided my Percent Differencee for Year Formula
It was working fine in sample dataset.
Provided the error when it was connected to backend
Couldn't load the data for Visual
MDX Scipt Model (20,75) calculation error in Measure 'Table'[Year percent Difference]: A Date Column Containing duplicate Date was specified in the call to function. 'DatesYTD'. This is not supported
Thanks in Advance
Solved! Go to Solution.
Hi @Anonymous ,
Actually there are duplicate values in your table ( same date in multiple rows ).And you are using time intelligence functions DATESYTD which in DAX need a separate date table/dimension.
You could create a calendar table with unique and continuous dates that cover all periods of your fact table.
Hi @Anonymous ,
Actually there are duplicate values in your table ( same date in multiple rows ).And you are using time intelligence functions DATESYTD which in DAX need a separate date table/dimension.
You could create a calendar table with unique and continuous dates that cover all periods of your fact table.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
111 | |
100 | |
80 | |
64 | |
58 |
User | Count |
---|---|
148 | |
111 | |
93 | |
84 | |
66 |