March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hi
I am new to power pivot and power bi.
I want to make a calculated column that sum a column (same table) if two criterias are met - combination of two values in their respective columns.
All values are in the same table, however I also have two dimension tables if it helps. E.g. in the picture below.
Regards,
Espen
Hi
I am new to power pivot and power bi.
I want to make a calculated column that sum a column (same table) if two criterias are met - combination of two values in their respective columns (Name (NameID) and Date)
All values are in the same table, however I also have two dimension tables if it helps. E.g. in the picture below.
Regards,
Espen (from Norway, sorry for the bad explanation
Hi,
Try these calculated column formulas
Col1=CALCULATE(SUM(Data[Numbers]),FILTER(Data,Data[Name]=EARLIER(Data[Name])&&Data[Date]=EARLIER(Data[Date])))
Col2=[Numbers]/[Col1]
Hope this helps.
Hi @espendl
Try this column
= CALCULATE ( SUM ( Table1[Numbers] ), ALLEXCEPT ( Table1, Table1[Name], Table1[Date] ) )
User | Count |
---|---|
117 | |
77 | |
58 | |
52 | |
46 |
User | Count |
---|---|
171 | |
117 | |
63 | |
57 | |
51 |