Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

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.

Reply

Period Over Period Change Help

Good Evening - 

 

I am having some visualization issues when wanting to display a month over month change without a date on my visualization.

 

This is what the data SHOULD look like:

 

accountnumberPeriodARPUARPU Prior
5131000000000-1 $  118.99 
51310000000000 $  197.44 $     118.99
51310000000001 $  201.32 $     197.44
51310000000002 $  170.12 $     201.32
51310000000003 $  141.75 $     170.12
51310000000004 $  124.94 $     141.75
51310000000005 $  207.31 $     124.94
51310000000006 $  211.39 $     207.31
51310000000007 $  178.63 $     211.39
51310000000008 $  148.84 $     178.63
51310000000009 $  131.19 $     148.84
513100000000010 $  217.68 $     131.19
513100000000011 $  221.96 $     217.68
513100000000012 $  187.56 $     221.96

 

 

Period corresponds to a date, which is in a relationship to a calendar table.

 

The issue I am having:

 

1. If I use ARPU Prior = CALCULATE([ARPU],PREVIOUSMONTH('CALENDAR'[Date])), then the ARPU Prior returns blank on the visual.

 

2. If I use ARPU Prior = CALCULATE([ARPU],DATEADD('CALENDAR'[Date],-1,MONTH)), then the ARPU Prior is the same value as ARPU

 

3. If I remove the AccountNumber and Period from the visual and add 'CALENDAR'[Date], the ARPU Prior is the correct value using ARPU Prior = CALCULATE([ARPU],DATEADD('CALENDAR'[Date],-1,MONTH)).

 

I need the visual to show the prior month value at the accountnumber level or period level without having the date.

 

How can I acomplish this?

 

Matt

3 REPLIES 3
v-shex-msft
Community Support
Community Support

Hi @matthew_hampton,

 

Based on your table structure, I guess you use two column to mapping unique date records, right?

 

If this is a case, current power bi not support active multiple relationship columns between two related tables at same time.

For your scenario, time intelligence function can't correct mapping accurate date range which stored in calendar table.

 

So it return blank and got the correct records when you fix relationships.

 

Reference link:

How to fix #dax time intelligence functions in #powerbi when date table uses a surrogate key

 

In my opinion, I'd like to suggest you merge account number and period columns to one and do same operation on calendar table side, then use new column as the relationship column and try again.

 

If above not help, please share more detailed information to help us clarify your situation.

How to Get Your Question Answered Quickly

 

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

Hello @v-shex-msft:

 

I am only using one column to map to the calendar table. I have a Calendar Table crearted with every date from 1/1/2018 through 12/31/2019 and that is related to table Promo Expire Master Lists.

 

image.png

 

Each date will have multiple Period values based on some account attributes but each Account/Period combo will only have one date.

 

Does this help any?

 

Matt

HI @matthew_hampton,

 

Please share you pbix file for test.

You can upload to onedrive or google drive and share link here.

 

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.