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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
basimretal
Frequent Visitor

I have a table that I would like to re create on Power BI

I have the below example of a table in excel, and I want to create it on Power BI, knowing that I have all the monthly payroll runs for each company. But I am not sure how to apply the precentage change over each peroid:

basimretal_0-1702219768276.png

 

4 REPLIES 4
aj1973
Community Champion
Community Champion

Hi @basimretal 

You can use "Quick measure" over Net amount as based value and pick "Month-over-month change" for calculation over Date(Has to be Date table) or create a DAX measure

% Monthly =
VAR _AmountPreviousMonth = CALCULATE(SUM(Net amount) , PREVIOUSMONTH(DATE_TABLE(COLUMN_DATE)))
VAR _NetAmount = SUM(Net amount)
VAR _Result = 1 - DIVIDE(_AmountPreviousMonth , _NetAmount, 0)

RETURN

_Result

 

Regards
Amine Jerbi

If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook

There is no other way besdies Date table?

Best way is to add a Date Table to your model. do you have a problem adding it?

Regards
Amine Jerbi

If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook

Is there a standard method to add a date table to the data module?

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.