Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hello,
I have a column in a table that contains the row headers I need for a matrix. However, for my columns, I need to have the numbers 1-30 (so, 30 columns) that correspond to a month. This is just a generalization for each month so it doesn't need to be an actual existing month. Anyway, I need those numbers as the column headers but they don't exist anywhere in my data (other than creating a table with GENERATESERIES to get my 1-30 values. Then the cells in the matrix would contain a formula to act as a "per day" value. Here's an oversimplification:
Table 1 exists and it includes that column that contains the values I need for my Matrix row headers. I need to be able to create the series of 1-30 columns and also write the DAX for values in the cells. Since there are 30 days, each cell would divide the value by 30.
Hopefully that all makes sense!
Thank you!
Solved! Go to Solution.
Hi @JLambs20 ,
You can create a measure from two unrelated tables in DAX. You can have something like
MyMeasure =
DIVIDE ( SUM ( Table1[Column] ), SELECTEDVALUE ( DaysTable[Day] ) )
The matrix will return an error if you put in the two fields from unrelated first but should be fine after adding the measure. If this doesn't work, please post a sample data that we can copy-paste.
Proud to be a Super User!
I completely forgot the fact that measures will help out with unrelated tables! Gosh, that's quite the oversight on my part. Thank you for your help!
Hi @JLambs20 ,
You can create a measure from two unrelated tables in DAX. You can have something like
MyMeasure =
DIVIDE ( SUM ( Table1[Column] ), SELECTEDVALUE ( DaysTable[Day] ) )
The matrix will return an error if you put in the two fields from unrelated first but should be fine after adding the measure. If this doesn't work, please post a sample data that we can copy-paste.
Proud to be a Super User!
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
123 | |
78 | |
48 | |
38 | |
37 |
User | Count |
---|---|
196 | |
80 | |
70 | |
51 | |
42 |