Windows 10: Power BI: How do I calculate the average of a column when another column value is "x", but...

Discus and support Power BI: How do I calculate the average of a column when another column value is "x", but... in Windows 10 Software and Apps to solve the problem; Hi there, I am new to Power BI and am trying to figure a few things out. Firstly, I want to code a measure for a dataset that calculates the average... Discussion in 'Windows 10 Software and Apps' started by Logan FFS, May 17, 2025 at 1:48 PM.

  1. Logan FFS Win User

    Power BI: How do I calculate the average of a column when another column value is "x", but...


    Hi there, I am new to Power BI and am trying to figure a few things out. Firstly, I want to code a measure for a dataset that calculates the average for a column "share price", but only the first "buy" share price if a different columns previous value was "sell". In simple forms I am trying to calculate the average "share price" when another column is "buy", but only the initial "buy" "share price" after the previous column was a sell. It is kind of tough to explain, but I hope that is clear enough. Thanks in advance!

    :)
     

  2. Reorder of rows and columns of matrix in power bi

    Hello, I have a data in my matrix table. I have data in my column and row which is in alphabetical order, but I need to reorder the rows and the columns in my power bi desktop which is not in the alphabetical order. How do I reorder the matrix rows and columns?


    Power BI: How do I calculate the average of a column when another column value is "x", but... WCVxqUnq4Pp0l20azytamWjsbnidSdonmFwZd3j%2BDGinXn%2BM9YsuzxXmZfIIWoOsixvCScW%2Br2qtsBzyTCPrXU8%3D.png
     
    Vidyashree_N, May 17, 2025 at 1:49 PM
    #2
  3. hellrazor Win User
    How to swap columns in sudoku

    First you'd want to make all the tiles pointers, that way if you want to swap columns you can go down each row and switch the value of the pointer in column A with the value of the pointer in column B.
     
  4. Akumos Win User

    Power BI: How do I calculate the average of a column when another column value is "x", but...

    SQL HELP-ORA-04073 column list not valid for this trigger type

    Hi,

    After trying to create this trigger:

    CREATE OR REPLACE TRIGGER a
    AFTER INSERT OF duration, startdate ON route, outing
    FOR EACH ROW
    WHEN (NEW.startdate LIKE %jan%)
    AND (NEW.duration = 5)
    DECLARE
    closed_in_jan EXCEPTION;

    EXCEPTION
    WHEN closed_in_jan THEN
    RAISE_APPLICATION_ERROR (-20101,We are closed in January.');



    I get this error:

    ORA-04073 column list not valid for this trigger type
    Cause
    A column list was specified for a non-update trigger type.

    Action
    Remove the column list.


    I've tried researching but can't find out what a column list is!

    Any help would be appreciated, thanks.
     
Thema:

Power BI: How do I calculate the average of a column when another column value is "x", but...

Loading...
  1. Power BI: How do I calculate the average of a column when another column value is "x", but... - Similar Threads - Power calculate average

  2. Power BI: How do I calculate the average of a column when another column value is "x", but...

    in Windows 10 Gaming
    Power BI: How do I calculate the average of a column when another column value is "x", but...: Hi there, I am new to Power BI and am trying to figure a few things out. Firstly, I want to code a measure for a dataset that calculates the average for a column "share price", but only the first "buy" share price if a different columns previous value was "sell". In simple...
  3. how to remove duplicate values from a column in a Microsoft Word table,

    in User Accounts and Family Safety
    how to remove duplicate values from a column in a Microsoft Word table,: how to remove duplicate values from a column in a Microsoft Word table.One column amount of money is duplicatedAnother Column the description is duplicated text and numbers.Please help?...
  4. how to remove duplicate values from a column in a Microsoft Word table,

    in Windows 10 Gaming
    how to remove duplicate values from a column in a Microsoft Word table,: how to remove duplicate values from a column in a Microsoft Word table.One column amount of money is duplicatedAnother Column the description is duplicated text and numbers.Please help?...
  5. how to remove duplicate values from a column in a Microsoft Word table,

    in Windows 10 Software and Apps
    how to remove duplicate values from a column in a Microsoft Word table,: how to remove duplicate values from a column in a Microsoft Word table.One column amount of money is duplicatedAnother Column the description is duplicated text and numbers.Please help?...
  6. Reorder of rows and columns of matrix in power bi

    in Windows 10 Gaming
    Reorder of rows and columns of matrix in power bi: Hello, I have a data in my matrix table. I have data in my column and row which is in alphabetical order, but I need to reorder the rows and the columns in my power bi desktop which is not in the alphabetical order. How do I reorder the matrix rows and columns?...
  7. Reorder of rows and columns of matrix in power bi

    in Windows 10 Software and Apps
    Reorder of rows and columns of matrix in power bi: Hello, I have a data in my matrix table. I have data in my column and row which is in alphabetical order, but I need to reorder the rows and the columns in my power bi desktop which is not in the alphabetical order. How do I reorder the matrix rows and columns?...
  8. Reorder of rows and columns of matrix in power bi

    in Microsoft Windows 10 Store
    Reorder of rows and columns of matrix in power bi: Hello, I have a data in my matrix table. I have data in my column and row which is in alphabetical order, but I need to reorder the rows and the columns in my power bi desktop which is not in the alphabetical order. How do I reorder the matrix rows and columns?...
  9. Transfer one table column data into another table column in power apps

    in Windows 10 Software and Apps
    Transfer one table column data into another table column in power apps: The question is :1. Table 1 contain column with name country, this column contains data2. Table 2 also contains column with name country but this column is emptynow i have to reflect 1st table country column data to 2nd table country column...
  10. Transfer one table column data into another table column in power apps

    in Windows 10 Gaming
    Transfer one table column data into another table column in power apps: The question is :1. Table 1 contain column with name country, this column contains data2. Table 2 also contains column with name country but this column is emptynow i have to reflect 1st table country column data to 2nd table country column...