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
samdthompson
Memorable Member
Memorable Member

Single record select and show all history

I have a model thats working beutifully. I have been asked to add a new page to the report where users can select a single invoice  based on a variance from an average (all working fine) and see an entire 12 month history for that supplier. The aim is to show that if we have a big variance on a single record based on all the other supplier information are we going to be particularly concerned or not.

 

I have a working solution to give me a total value for the past 12 months:

 

Total Head (mob exceptions) =
CALCULATE([Total SU],
ALL(Data[Mob_ID]),ALL('Date'),
FILTER(ALL('Date'),'Date'[Rolling 12 month]="12mo"),
FILTER(Suppliers,Suppliers[Supplier ID]=LOOKUPVALUE(Data[supplier_id],Data[Mob_ID],FIRSTNONBLANK(Data[Mob_ID],1)))


)2018-02-02_9-31-22.png

 

The problem is somewhere in the product type but i cannot for the life of me find it.

 

Any help appreciated.

 

Cheers,

// if this is a solution please mark as such. Kudos always appreciated.
1 ACCEPTED SOLUTION

sorry, the file is too large to remove any commercially sensitive info from. i will see if i can jimmy up a stripped down version.

// if this is a solution please mark as such. Kudos always appreciated.

View solution in original post

2 REPLIES 2
CheenuSing
Community Champion
Community Champion

Hi @samdthompson

 

Can you please share the pbix in one drive or google drive and share the link here.

 

Cheers

 

CheenuSing

Did I answer your question? Mark my post as a solution and also give KUDOS !

Proud to be a Datanaut!

sorry, the file is too large to remove any commercially sensitive info from. i will see if i can jimmy up a stripped down version.

// if this is a solution please mark as such. Kudos always appreciated.

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.