Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
Please assist with DAX
I have created a DAX measure(please see below for my script). The result is not correct, I have tried troubleshooting but had no luck.
Hi, @RenierKotze
Can you provide sample data for testing? Sensitive information can be removed in advance. What kind of expected results do you expect? You can also show it with pictures or Excel. I look forward to your response.
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Good Morning
Thank you I appreciate your help, here is some background. In my Power BI report, I would like the user/s to be able to select from sliecers the following:
1. Slicer 1, the user is able to select if he/she would like to see the result/visualization in "Units/Value". I did create a table called MEASURE[Description]. In the Description column we have Value/ or Units
2. Slicer 2, the user is able to select the Year, i have a Calendar table, with a column named as DATE_KEY. The data type =Date format, yyyy/mm/dd
3. Sliecer 3, the user is able to select the month, also from the Calendar table, the Month is a Whole number data type
Relationships:
I created many to one relationships to my fact tables for the following:
1. Date_KEY to Fact tables(to Date columns, which is Date Type)(Calendar)
2. Product dimensions
I have 3 tabels(Fact)
1. Budget2023
2. Current year (append, I have a couple of Sales tabels, 1= MTD 2 ; 2=Y2022; 3= Y2021; YTD excluding the Month to date)
The issue I have is the Previous Year measure, as the measure calculates the full month where it should only do calculations up to 2023/11/21(example)
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
26 | |
20 | |
19 | |
14 | |
13 |
User | Count |
---|---|
43 | |
36 | |
24 | |
24 | |
22 |