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.
Let's say I have a data like this:
A table with "wave" column which has a unique numerical value.
Using the table above, the goal is to generate a table like below:
Basically, to generate 4 records consist of decremental values for each "wave" value:
ex.
72 = 69 to 72
73 = 70 to 73
74 = 71 to 74
Is it possible to achieve this using DAX?
Thanks in advance!
Solved! Go to Solution.
Create the new table like this:
TableNew =
GENERATE (
TableQ,
GENERATESERIES(TableQ[Column1] - 3, TableQ[Column1],1) )
You can create a new table like
new table =
SELECTCOLUMNS(
GENERATE( 'wave', GENERATESERIES( 'wave'[wave] - 3, 'wave'[wave], 1 ) ),
"wave", 'wave'[wave],
"wave_coverage", [Value]
)
Create the new table like this:
TableNew =
GENERATE (
TableQ,
GENERATESERIES(TableQ[Column1] - 3, TableQ[Column1],1) )
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
144 | |
72 | |
62 | |
51 | |
48 |
User | Count |
---|---|
204 | |
86 | |
62 | |
59 | |
56 |