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.
Hi Folks,
Looking for a solution for the following DAX measure:
The IFERROR is a fix for Infinity results, as there is a delay in publication of data in the denominator (CANSIM) table. The *12 multiplier is applied to each month to make them comparable to yearly values. The issue I'm having is with the total in the Year / Month matrix for the current year. The YTD value should have a multiplier of 12 divided by the count of months in the CANSIM table so far this year.
I can't seem to figure out how to apply this logic.
I'm also looking to do the same for my two measures that display a territory breakdown. These are both missing the IFERROR element as well.
Hi @AlB, thanks for the response.
Here are some screenshots for more context.
'Merged' column connects month/year between dbo_Event and CANSIM
Mock-up of the different ways I want to present the data.
Tables schema
relationships
Hi @SebL
Not clear. Can you shre some sample data and the expected result based on that data?
|
Please accept the solution when done and consider giving a thumbs up if posts are helpful. Contact me privately for support with any larger-scale BI needs, tutoring, etc. |
User | Count |
---|---|
26 | |
10 | |
8 | |
6 | |
6 |
User | Count |
---|---|
32 | |
14 | |
11 | |
10 | |
9 |